Class: Uploadcare::Client::Conversion::BaseConversionClient
- Inherits:
-
RestClient
- Object
- ApiStruct::Client
- RestClient
- Uploadcare::Client::Conversion::BaseConversionClient
- Defined in:
- lib/uploadcare/client/conversion/base_conversion_client.rb
Overview
This is a base client for conversion operations
Direct Known Subclasses
Constant Summary collapse
- API_VERSION_HEADER_VALUE =
'application/vnd.uploadcare-v0.7+json'
Instance Method Summary collapse
Methods inherited from RestClient
#api_root, #api_struct_delete, #api_struct_get, #api_struct_post, #api_struct_put, #delete, #get, #post, #put, #request
Methods included from Uploadcare::Concerns::ThrottleHandler
Methods included from Uploadcare::Concerns::ErrorHandler
Instance Method Details
#headers ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/uploadcare/client/conversion/base_conversion_client.rb', line 15 def headers { 'Content-Type': 'application/json', Accept: API_VERSION_HEADER_VALUE, 'User-Agent': Uploadcare::Param::UserAgent.call } end |