Sha256: c6e836129897f7faceb4a00c6d8ed3c36d06bccd08442e0032a8aabc0e13977f
Contents?: true
Size: 509 Bytes
Versions: 12
Compression:
Stored size: 509 Bytes
Contents
module Braintree class RiskData # :nodoc: include BaseModule attr_reader :decision attr_reader :device_data_captured attr_reader :id def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end def inspect attr_order = [:id, :decision, :device_data_captured] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<RiskData #{formatted_attrs.join(", ")}>" end end end
Version data entries
12 entries across 12 versions & 1 rubygems