Sha256: 9494cd4e8f8e3adc31670b8f337cd56c8b0edcea37cf798ea009c434c520236a
Contents?: true
Size: 679 Bytes
Versions: 41
Compression:
Stored size: 679 Bytes
Contents
module Braintree class ThreeDSecureInfo # :nodoc: include BaseModule attr_reader :enrolled, :liability_shifted, :liability_shift_possible, :status alias_method :liability_shifted?, :liability_shifted alias_method :liability_shift_possible?, :liability_shift_possible def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end def inspect attr_order = [:enrolled, :liability_shifted, :liability_shift_possible, :status] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<ThreeDSecureInfo #{formatted_attrs.join(", ")}>" end end end
Version data entries
41 entries across 41 versions & 1 rubygems