Sha256: 6e4ed36584b1136e1f3401c702eb8dad67e80467715b64d8d3d145534456af40

Contents?: true

Size: 417 Bytes

Versions: 5

Compression:

Stored size: 417 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
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
braintree-2.49.0 lib/braintree/merchant.rb
braintree-2.48.1 lib/braintree/merchant.rb
braintree-2.48.0 lib/braintree/merchant.rb
braintree-2.47.0 lib/braintree/merchant.rb
braintree-2.46.0 lib/braintree/merchant.rb