Class: Ubiquity::MediaSilo::API::V3::Client::Requests::Batch
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Ubiquity::MediaSilo::API::V3::Client::Requests::Batch
- Defined in:
- lib/ubiquity/mediasilo/api/v3/client/requests/batch.rb
Overview
Constant Summary collapse
- HTTP_METHOD =
:post
- HTTP_PATH =
'batch'
- HTTP_SUCCESS_CODE =
200
- PARAMETERS =
[ { :name => :requests, :send_in => :body, :send_key => false } ]
Constants inherited from BaseRequest
Ubiquity::MediaSilo::API::V3::Client::Requests::BaseRequest::DEFAULT_PARAMETER_SEND_IN_VALUE, Ubiquity::MediaSilo::API::V3::Client::Requests::BaseRequest::HTTP_BASE_PATH
Instance Attribute Summary
Attributes inherited from BaseRequest
#arguments, #client, #default_parameter_send_in_value, #initial_arguments, #initial_options, #initialized, #missing_required_arguments, #options, #parameters, #path, #processed_parameters, #query, #response
Instance Method Summary collapse
Methods inherited from BaseRequest
#after_initialize, #after_process_parameters, #base_path, #before_process_parameters, #body_arguments, #eval_http_path?, #execute, #http_client, #http_method, #http_path, #http_response, #http_success_code, #initialize, #initialize_attributes, normalize_argument_hash_keys, normalize_parameter_name, #path_arguments, process_parameter, #process_parameters, process_parameters, #query_arguments, #relative_path, #success?, #to_batchable_request, #to_batchable_request_as_json, #uri_request_path
Constructor Details
This class inherits a constructor from Ubiquity::MediaSilo::API::V3::Client::Requests::BaseRequest
Instance Method Details
#body ⇒ Object
14 15 16 |
# File 'lib/ubiquity/mediasilo/api/v3/client/requests/batch.rb', line 14 def body @body ||= arguments[:requests] end |