Class: Intelipost::Facade

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/intelipost/api/facade.rb

Class Method Summary collapse

Class Method Details

.get_with_log(url, api_key, params = {}) ⇒ Object



9
10
11
# File 'lib/intelipost/api/facade.rb', line 9

def get_with_log(url, api_key, params={})
  call_intelipost(api_key, :get, url, params)
end

.post_with_log(url, api_key, params = {}) ⇒ Object



13
14
15
# File 'lib/intelipost/api/facade.rb', line 13

def post_with_log(url, api_key, params={})
  call_intelipost(api_key, :post, url, params)
end