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

Version Path
braintree-4.23.0 lib/braintree/facilitator_details.rb
braintree-4.22.0 lib/braintree/facilitator_details.rb
braintree-4.21.0 lib/braintree/facilitator_details.rb
braintree-4.20.0 lib/braintree/facilitator_details.rb
braintree-4.19.0 lib/braintree/facilitator_details.rb
braintree-4.18.0 lib/braintree/facilitator_details.rb
braintree-4.17.0 lib/braintree/facilitator_details.rb
braintree-4.16.0 lib/braintree/facilitator_details.rb