class Natero::User

Public Class Methods

bulk_insert_modify(accounts) click to toggle source
# File lib/natero/user.rb, line 10
def self.bulk_insert_modify(accounts)
  post([], json_data(Natero.to_records_json(accounts)))
end
deactivate(id, account_id=nil) click to toggle source
# File lib/natero/user.rb, line 18
def self.deactivate(id, account_id=nil)
  delete([id, account_id])
end
endpoint_path() click to toggle source
# File lib/natero/user.rb, line 22
def self.endpoint_path
  ['account_users']
end
modify(id, account) click to toggle source
# File lib/natero/user.rb, line 14
def self.modify(id, account)
  put([id], json_data(account.to_json))
end
retrieve(id, account_id=nil) click to toggle source
# File lib/natero/user.rb, line 6
def self.retrieve(id, account_id=nil)
  get([id, account_id])
end
retrieve_all() click to toggle source
# File lib/natero/user.rb, line 2
def self.retrieve_all
  get
end