class Braintree::Merchant
Attributes
Public Class Methods
Source
# File lib/braintree/merchant.rb, line 26 def self._new(*args) self.new(*args) end
Source
# File lib/braintree/merchant.rb, line 30 def self.provision_raw_apple_pay Configuration.gateway.merchant.provision_raw_apple_pay end
Protected Class Methods
Source
# File lib/braintree/merchant.rb, line 14 def initialize(gateway, attributes) @merchant_accounts = attributes.delete(:merchant_accounts).map do |merchant_account| MerchantAccount._new(gateway, merchant_account) end set_instance_variables_from_hash(attributes) end