Sha256: 496d6d8f59374cd21ac424a787e46d28f22db90a1b43b0a28852b425fa6fea3e

Contents?: true

Size: 531 Bytes

Versions: 33

Compression:

Stored size: 531 Bytes

Contents

module Braintree
  class FacilitatorDetails # :nodoc:
    include BaseModule

    attr_reader :oauth_application_client_id, :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

33 entries across 33 versions & 1 rubygems

Version Path
braintree-2.64.0 lib/braintree/facilitator_details.rb
braintree-2.63.0 lib/braintree/facilitator_details.rb
braintree-2.62.0 lib/braintree/facilitator_details.rb
braintree-2.61.1 lib/braintree/facilitator_details.rb
braintree-2.61.0 lib/braintree/facilitator_details.rb
braintree-2.60.0 lib/braintree/facilitator_details.rb
braintree-2.59.0 lib/braintree/facilitator_details.rb
braintree-2.58.0 lib/braintree/facilitator_details.rb
braintree-2.57.0 lib/braintree/facilitator_details.rb
braintree-2.56.0 lib/braintree/facilitator_details.rb
braintree-2.55.0 lib/braintree/facilitator_details.rb
braintree-2.54.0 lib/braintree/facilitator_details.rb
braintree-2.50.0 lib/braintree/facilitator_details.rb