Class: Braintree::Dispute::PayPalMessage
- Inherits:
-
Object
- Object
- Braintree::Dispute::PayPalMessage
- Includes:
- BaseModule
- Defined in:
- lib/braintree/dispute/paypal_message.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#sender ⇒ Object
readonly
Returns the value of attribute sender.
-
#sent_at ⇒ Object
readonly
Returns the value of attribute sent_at.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ PayPalMessage
constructor
A new instance of PayPalMessage.
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) ⇒ PayPalMessage
Returns a new instance of PayPalMessage.
10 11 12 |
# File 'lib/braintree/dispute/paypal_message.rb', line 10 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
6 7 8 |
# File 'lib/braintree/dispute/paypal_message.rb', line 6 def @message end |
#sender ⇒ Object (readonly)
Returns the value of attribute sender.
6 7 8 |
# File 'lib/braintree/dispute/paypal_message.rb', line 6 def sender @sender end |
#sent_at ⇒ Object (readonly)
Returns the value of attribute sent_at.
6 7 8 |
# File 'lib/braintree/dispute/paypal_message.rb', line 6 def sent_at @sent_at end |