Sha256: d2c208277d13a50b79a6714de20c763e00df3be0c4a97b5de65aad46ff555fd8

Contents?: true

Size: 524 Bytes

Versions: 7

Compression:

Stored size: 524 Bytes

Contents

module Braintree
  class Merchant
    include BaseModule # :nodoc:

    attr_reader :id, :email, :company_name, :country_code_alpha2, :country_code_alpha3, :country_code_numeric, :country_name

    def initialize(attributes) # :nodoc:
      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

7 entries across 7 versions & 1 rubygems

Version Path
braintree-2.59.0 lib/braintree/merchant.rb
braintree-2.58.0 lib/braintree/merchant.rb
braintree-2.57.0 lib/braintree/merchant.rb
braintree-2.56.0 lib/braintree/merchant.rb
braintree-2.55.0 lib/braintree/merchant.rb
braintree-2.54.0 lib/braintree/merchant.rb
braintree-2.50.0 lib/braintree/merchant.rb