Sha256: 5e5feebc0bc25d1d4c14eae427b19b666bd4fff73f378c631d00e0358a3fef79
Contents?: true
Size: 828 Bytes
Versions: 8
Compression:
Stored size: 828 Bytes
Contents
module Braintree class BinData 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 [ :commercial, :country_of_issuance, :debit, :durbin_regulated, :healthcare, :issuing_bank, :payroll, :prepaid, :product_id ] end end end
Version data entries
8 entries across 8 versions & 1 rubygems