class ArmorPayments::Partner

Public Instance Methods

accounts(partner_id) click to toggle source

Attempting to chain from the Accounts resource returned here will work with .all(). Attempting to chain with other methods (for example, with .get(account_id)) will result in a 404.

# File lib/armor_payments/api/partner.rb, line 7
def accounts partner_id
  ArmorPayments::Accounts.new(host, authenticator, uri(partner_id))
end
users(partner_id) click to toggle source

Attempting to chain from the Users resource returned here will work with .all(). Attempting to chain with other methods (for example, with .get(user_id)) will result in a 404.

# File lib/armor_payments/api/partner.rb, line 14
def users partner_id
  ArmorPayments::Users.new(host, authenticator, uri(partner_id))
end