Class: Uploadcare::Client::UploadClient Abstract
- Inherits:
-
ApiStruct::Client
- Object
- ApiStruct::Client
- Uploadcare::Client::UploadClient
- Defined in:
- lib/uploadcare/client/upload_client.rb
Overview
This class is abstract.
Headers and helper methods for clients working with upload API
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Uploadcare::Concerns::ThrottleHandler
Methods included from Uploadcare::Concerns::ErrorHandler
Instance Method Details
#api_root ⇒ Object
21 22 23 |
# File 'lib/uploadcare/client/upload_client.rb', line 21 def api_root Uploadcare.config.upload_api_root end |
#headers ⇒ Object
25 26 27 28 29 |
# File 'lib/uploadcare/client/upload_client.rb', line 25 def headers { 'User-Agent': Uploadcare::Param::UserAgent.call } end |