Class: Mediaflux::NamespaceCreateRequest
- Defined in:
- app/models/mediaflux/namespace_create_request.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#store ⇒ Object
readonly
Returns the value of attribute store.
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:, namespace:, description: nil, store: nil) ⇒ NamespaceCreateRequest
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:, namespace:, description: nil, store: nil) ⇒ NamespaceCreateRequest
Constructor
11 12 13 14 15 16 |
# File 'app/models/mediaflux/namespace_create_request.rb', line 11 def initialize(session_token:, namespace:, description: nil, store: nil) super(session_token: session_token) @namespace = namespace @description = description @store = store end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
4 5 6 |
# File 'app/models/mediaflux/namespace_create_request.rb', line 4 def description @description end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
4 5 6 |
# File 'app/models/mediaflux/namespace_create_request.rb', line 4 def namespace @namespace end |
#store ⇒ Object (readonly)
Returns the value of attribute store.
4 5 6 |
# File 'app/models/mediaflux/namespace_create_request.rb', line 4 def store @store end |
Class Method Details
.service ⇒ String
Specifies the Mediaflux service to use when creating assets
20 21 22 |
# File 'app/models/mediaflux/namespace_create_request.rb', line 20 def self.service "asset.namespace.create" end |