Sha256: 0e927fd6598fc141f31456ccef0054d0b19964a858097b953c9c2f04990330fa
Contents?: true
Size: 536 Bytes
Versions: 8
Compression:
Stored size: 536 Bytes
Contents
module Braintree class FacilitatorDetails include BaseModule attr_reader :oauth_application_client_id attr_reader :oauth_application_name def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end def inspect attr_order = [:oauth_application_client_id, :oauth_application_name] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<FacilitatorDetails #{formatted_attrs.join(", ")}>" end end end
Version data entries
8 entries across 8 versions & 1 rubygems