Class: Professionali::Api::Storage
- Inherits:
-
Professionali::ApiCore
- Object
- Professionali::ApiCore
- Professionali::Api::Storage
- Defined in:
- lib/professionali/api/storage.rb
Instance Attribute Summary
Attributes inherited from Professionali::ApiCore
Instance Method Summary collapse
Methods inherited from Professionali::ApiCore
#api_call, #initialize, #post, #raise_errors
Constructor Details
This class inherits a constructor from Professionali::ApiCore
Instance Method Details
#get(options) ⇒ Object
4 5 6 |
# File 'lib/professionali/api/storage.rb', line 4 def get() api_call 'storage/get.json', 'get', end |
#set(options) ⇒ Object
8 9 10 |
# File 'lib/professionali/api/storage.rb', line 8 def set() api_call 'storage/set.json', 'post', end |