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-3.0.1 lib/braintree/bin_data.rb
braintree-2.104.1 lib/braintree/bin_data.rb
braintree-2.104.0 lib/braintree/bin_data.rb
braintree-2.103.0 lib/braintree/bin_data.rb
braintree-2.102.0 lib/braintree/bin_data.rb
braintree-2.101.0 lib/braintree/bin_data.rb
braintree-2.100.0 lib/braintree/bin_data.rb
braintree-2.99.0 lib/braintree/bin_data.rb
braintree-2.98.0 lib/braintree/bin_data.rb
braintree-2.97.0 lib/braintree/bin_data.rb
braintree-2.96.0 lib/braintree/bin_data.rb
braintree-2.95.0 lib/braintree/bin_data.rb
braintree-2.94.0 lib/braintree/bin_data.rb
braintree-2.93.0 lib/braintree/bin_data.rb
braintree-2.92.0 lib/braintree/bin_data.rb
braintree-2.91.0 lib/braintree/bin_data.rb
braintree-2.90.0 lib/braintree/bin_data.rb
braintree-2.89.0 lib/braintree/bin_data.rb
braintree-2.88.0 lib/braintree/bin_data.rb
braintree-2.87.0 lib/braintree/bin_data.rb