Class: Professionali::Api::Storage

Inherits:
Professionali::ApiCore show all
Defined in:
lib/professionali/api/storage.rb

Instance Attribute Summary

Attributes inherited from Professionali::ApiCore

#token

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(options)
  api_call 'storage/get.json', 'get', options
end

#set(options) ⇒ Object



8
9
10
# File 'lib/professionali/api/storage.rb', line 8

def set(options)
  api_call 'storage/set.json', 'post', options
end