Sha256: 3c91935a86c83af446d33d79f912abed1b5d38b8d227a13343b4fee675f836ae
Contents?: true
Size: 817 Bytes
Versions: 17
Compression:
Stored size: 817 Bytes
Contents
module Braintree class Merchant include BaseModule # :nodoc: attr_reader :company_name attr_reader :country_code_alpha2 attr_reader :country_code_alpha3 attr_reader :country_code_numeric attr_reader :country_name attr_reader :email attr_reader :id attr_reader :merchant_accounts def initialize(gateway, attributes) # :nodoc: @merchant_accounts = attributes.delete(:merchant_accounts).map do |merchant_account| MerchantAccount._new(gateway, merchant_account) end set_instance_variables_from_hash(attributes) end class << self protected :new end def self._new(*args) # :nodoc: self.new(*args) end def self.provision_raw_apple_pay Configuration.gateway.merchant.provision_raw_apple_pay end end end
Version data entries
17 entries across 17 versions & 1 rubygems