Sha256: 6d3d349c7ad0f51b41faa4538f0db14ac3fa245a494efb5bbd383bac32578673
Contents?: true
Size: 848 Bytes
Versions: 20
Compression:
Stored size: 848 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_attributes = self.class._attributes.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<#{self.class} #{formatted_attributes.join(", ")}>" end def self._attributes # :nodoc: [ :commercial, :country_of_issuance, :debit, :durbin_regulated, :healthcare, :issuing_bank, :payroll, :prepaid, :product_id ] end end end
Version data entries
20 entries across 20 versions & 1 rubygems