Class: Mediaflux::ServiceExecuteRequest
- Defined in:
- app/models/mediaflux/service_execute_request.rb
Instance Attribute Summary collapse
-
#document ⇒ Object
readonly
Returns the value of attribute document.
-
#service_name ⇒ Object
readonly
Returns the value of attribute service_name.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
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:, service_name:, token: nil, document: nil) ⇒ ServiceExecuteRequest
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:, service_name:, token: nil, document: nil) ⇒ ServiceExecuteRequest
Constructor
13 14 15 16 17 18 |
# File 'app/models/mediaflux/service_execute_request.rb', line 13 def initialize(session_token:, service_name:, token: nil, document: nil) super(session_token: session_token) @service_name = service_name @token = token @document = document end |
Instance Attribute Details
#document ⇒ Object (readonly)
Returns the value of attribute document.
4 5 6 |
# File 'app/models/mediaflux/service_execute_request.rb', line 4 def document @document end |
#service_name ⇒ Object (readonly)
Returns the value of attribute service_name.
4 5 6 |
# File 'app/models/mediaflux/service_execute_request.rb', line 4 def service_name @service_name end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
4 5 6 |
# File 'app/models/mediaflux/service_execute_request.rb', line 4 def token @token end |
Class Method Details
.service ⇒ String
Specifies the Mediaflux service to use when creating assets
22 23 24 |
# File 'app/models/mediaflux/service_execute_request.rb', line 22 def self.service "service.execute" end |