Class: Braintree::FacilitatorDetails
- Inherits:
-
Object
- Object
- Braintree::FacilitatorDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/facilitator_details.rb
Instance Attribute Summary collapse
-
#oauth_application_client_id ⇒ Object
readonly
Returns the value of attribute oauth_application_client_id.
-
#oauth_application_name ⇒ Object
readonly
Returns the value of attribute oauth_application_name.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ FacilitatorDetails
constructor
A new instance of FacilitatorDetails.
- #inspect ⇒ Object
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
#initialize(attributes) ⇒ FacilitatorDetails
Returns a new instance of FacilitatorDetails.
8 9 10 |
# File 'lib/braintree/facilitator_details.rb', line 8 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#oauth_application_client_id ⇒ Object (readonly)
Returns the value of attribute oauth_application_client_id.
5 6 7 |
# File 'lib/braintree/facilitator_details.rb', line 5 def oauth_application_client_id @oauth_application_client_id end |
#oauth_application_name ⇒ Object (readonly)
Returns the value of attribute oauth_application_name.
6 7 8 |
# File 'lib/braintree/facilitator_details.rb', line 6 def oauth_application_name @oauth_application_name end |
Instance Method Details
#inspect ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/braintree/facilitator_details.rb', line 12 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 |