Sha256: 163fb87f549e93a205b3f39961f891f2a8fd0f854ac3acf654fea69ca0407838
Contents?: true
Size: 574 Bytes
Versions: 10
Compression:
Stored size: 574 Bytes
Contents
module Braintree class RiskData # :nodoc: include BaseModule attr_reader :decision attr_reader :device_data_captured attr_reader :id attr_reader :fraud_service_provider 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
10 entries across 10 versions & 1 rubygems