Class: Braintree::Transaction::VenmoAccountDetails
- Inherits:
-
Object
- Object
- Braintree::Transaction::VenmoAccountDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/transaction/venmo_account_details.rb
Instance Attribute Summary collapse
-
#image_url ⇒ Object
readonly
Returns the value of attribute image_url.
-
#source_description ⇒ Object
readonly
Returns the value of attribute source_description.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
-
#venmo_user_id ⇒ Object
readonly
Returns the value of attribute venmo_user_id.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ VenmoAccountDetails
constructor
A new instance of VenmoAccountDetails.
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) ⇒ VenmoAccountDetails
Returns a new instance of VenmoAccountDetails.
12 13 14 |
# File 'lib/braintree/transaction/venmo_account_details.rb', line 12 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#image_url ⇒ Object (readonly)
Returns the value of attribute image_url.
6 7 8 |
# File 'lib/braintree/transaction/venmo_account_details.rb', line 6 def image_url @image_url end |
#source_description ⇒ Object (readonly)
Returns the value of attribute source_description.
7 8 9 |
# File 'lib/braintree/transaction/venmo_account_details.rb', line 7 def source_description @source_description end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
8 9 10 |
# File 'lib/braintree/transaction/venmo_account_details.rb', line 8 def token @token end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
9 10 11 |
# File 'lib/braintree/transaction/venmo_account_details.rb', line 9 def username @username end |
#venmo_user_id ⇒ Object (readonly)
Returns the value of attribute venmo_user_id.
10 11 12 |
# File 'lib/braintree/transaction/venmo_account_details.rb', line 10 def venmo_user_id @venmo_user_id end |