Sha256: 4d6d43561c5aa32e922a3125b4397f8f98db6a72abf2b6e36b0c7509de945774

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

module Braintree
  class BinData # :nodoc:
    include BaseModule

    attr_reader :commercial, :country_of_issuance, :debit, :durbin_regulated, :healthcare,
      :issuing_bank, :payroll, :prepaid, :product_id

    def initialize(attributes)
      set_instance_variables_from_hash attributes unless attributes.nil?
    end

    def inspect
      formatted_attrs = self.class._attributes.map do |attr|
        "#{attr}: #{send(attr).inspect}"
      end
      "#<BinData #{formatted_attrs.join(", ")}>"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
braintree-2.80.1 lib/braintree/bin_data.rb
braintree-2.80.0 lib/braintree/bin_data.rb