Sha256: 311a0e356b9492f37b8ca76c267ec8ee8783a660f56da067c22e38f5f683561e

Contents?: true

Size: 634 Bytes

Versions: 26

Compression:

Stored size: 634 Bytes

Contents

module Braintree
  class BinData # :nodoc:
    include BaseModule

    attr_reader :commercial
    attr_reader :country_of_issuance
    attr_reader :debit
    attr_reader :durbin_regulated
    attr_reader :healthcare
    attr_reader :issuing_bank
    attr_reader :payroll
    attr_reader :prepaid
    attr_reader :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

26 entries across 26 versions & 1 rubygems

Version Path
braintree-2.86.0 lib/braintree/bin_data.rb
braintree-2.85.0 lib/braintree/bin_data.rb
braintree-2.84.0 lib/braintree/bin_data.rb
braintree-2.83.0 lib/braintree/bin_data.rb
braintree-2.82.0 lib/braintree/bin_data.rb
braintree-2.81.0 lib/braintree/bin_data.rb