class Braintree::MerchantAccount
Attributes
Public Class Methods
Source
# File lib/braintree/merchant_account.rb, line 39 def _new(*args) self.new(*args) end
Source
# File lib/braintree/merchant_account.rb, line 28 def self.find(*args) Configuration.gateway.merchant_account.find(*args) end
Protected Class Methods
Source
# File lib/braintree/merchant_account.rb, line 32 def initialize(gateway, attributes) @gateway = gateway set_instance_variables_from_hash(attributes) end
Public Instance Methods
Source
# File lib/braintree/merchant_account.rb, line 44 def inspect order = [:id, :status] nice_attributes = order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<#{self.class}: #{nice_attributes.join(', ')}>" end