Sha256: 99d8a9a49526e485f549f0f3b68ae730406d8f4cd7a23ffe94eb69f138ef73f0
Contents?: true
Size: 682 Bytes
Versions: 6
Compression:
Stored size: 682 Bytes
Contents
module Braintree class RiskData # :nodoc: include BaseModule attr_reader :customer_device_id attr_reader :customer_location_zip attr_reader :customer_tenure attr_reader :decision attr_reader :device_data_captured attr_reader :fraud_service_provider 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, :fraud_service_provider] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<RiskData #{formatted_attrs.join(", ")}>" end end end
Version data entries
6 entries across 6 versions & 1 rubygems