Class: Mediaflux::AssetDestroyRequest
- Defined in:
- app/models/mediaflux/asset_destroy_request.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
readonly
Returns the value of attribute collection.
-
#members ⇒ Object
readonly
Returns the value of attribute members.
Attributes inherited from Request
Class Method Summary collapse
-
.service ⇒ String
Specifies the Mediaflux service to use when destroying assets.
Instance Method Summary collapse
-
#initialize(session_token:, collection:, members:) ⇒ AssetDestroyRequest
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:, collection:, members:) ⇒ AssetDestroyRequest
Constructor
11 12 13 14 15 |
# File 'app/models/mediaflux/asset_destroy_request.rb', line 11 def initialize(session_token:, collection:, members:) super(session_token: session_token) @collection = collection @members = members end |
Instance Attribute Details
#collection ⇒ Object (readonly)
Returns the value of attribute collection.
4 5 6 |
# File 'app/models/mediaflux/asset_destroy_request.rb', line 4 def collection @collection end |
#members ⇒ Object (readonly)
Returns the value of attribute members.
4 5 6 |
# File 'app/models/mediaflux/asset_destroy_request.rb', line 4 def members @members end |
Class Method Details
.service ⇒ String
Specifies the Mediaflux service to use when destroying assets
19 20 21 |
# File 'app/models/mediaflux/asset_destroy_request.rb', line 19 def self.service "asset.destroy" end |