Class: Mediaflux::TestAssetCreateRequest
- Defined in:
- app/models/mediaflux/test_asset_create_request.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#parent_id ⇒ Object
readonly
Returns the value of attribute parent_id.
-
#pattern ⇒ Object
readonly
Returns the value of attribute pattern.
Attributes inherited from Request
Class Method Summary collapse
-
.service ⇒ String
Specifies the Mediaflux service to use when creating assets.
Instance Method Summary collapse
-
#initialize(session_token:, parent_id:, count: 1, pattern: nil) ⇒ TestAssetCreateRequest
constructor
Constructor.
Methods inherited from Request
build_post_request, default_xml_namespace, default_xml_namespace_uri, #error?, find_or_create_http_client, format_date_for_mediaflux, request_path, #resolve, #resolved?, #response_body, #response_error, #response_xml, uri, #xml_payload, #xtoshell_xml
Constructor Details
#initialize(session_token:, parent_id:, count: 1, pattern: nil) ⇒ TestAssetCreateRequest
Constructor
11 12 13 14 15 16 |
# File 'app/models/mediaflux/test_asset_create_request.rb', line 11 def initialize(session_token:, parent_id:, count: 1, pattern: nil) super(session_token: session_token) @parent_id = parent_id @count = count @pattern = pattern end |
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count.
4 5 6 |
# File 'app/models/mediaflux/test_asset_create_request.rb', line 4 def count @count end |
#parent_id ⇒ Object (readonly)
Returns the value of attribute parent_id.
4 5 6 |
# File 'app/models/mediaflux/test_asset_create_request.rb', line 4 def parent_id @parent_id end |
#pattern ⇒ Object (readonly)
Returns the value of attribute pattern.
4 5 6 |
# File 'app/models/mediaflux/test_asset_create_request.rb', line 4 def pattern @pattern end |
Class Method Details
.service ⇒ String
Specifies the Mediaflux service to use when creating assets
20 21 22 |
# File 'app/models/mediaflux/test_asset_create_request.rb', line 20 def self.service "asset.test.create" end |