Class: Referly::AccountProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/referly/account_proxy.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ AccountProxy

Returns a new instance of AccountProxy.



3
4
5
# File 'lib/referly/account_proxy.rb', line 3

def initialize(client)
  @client = client
end

Instance Method Details

#create(params = {}) ⇒ Object



7
8
9
# File 'lib/referly/account_proxy.rb', line 7

def create(params={})
  @client.post('/accounts', params)['account_id']
end