Class: Mondido::CreditCard::Refund
- Includes:
- ActiveModel::Model
- Defined in:
- lib/mondido/credit_card/refund.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#transaction ⇒ Object
Returns the value of attribute transaction.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
Class Method Summary collapse
Methods inherited from BaseModel
all, #api_params, create, get, #update_from_response
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
6 7 8 |
# File 'lib/mondido/credit_card/refund.rb', line 6 def amount @amount end |
#created_at ⇒ Object
Returns the value of attribute created_at.
6 7 8 |
# File 'lib/mondido/credit_card/refund.rb', line 6 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/mondido/credit_card/refund.rb', line 6 def id @id end |
#reason ⇒ Object
Returns the value of attribute reason.
6 7 8 |
# File 'lib/mondido/credit_card/refund.rb', line 6 def reason @reason end |
#ref ⇒ Object
Returns the value of attribute ref.
6 7 8 |
# File 'lib/mondido/credit_card/refund.rb', line 6 def ref @ref end |
#transaction ⇒ Object
Returns the value of attribute transaction.
6 7 8 |
# File 'lib/mondido/credit_card/refund.rb', line 6 def transaction @transaction end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
6 7 8 |
# File 'lib/mondido/credit_card/refund.rb', line 6 def transaction_id @transaction_id end |
Class Method Details
.delete(id) ⇒ Object
26 27 28 |
# File 'lib/mondido/credit_card/refund.rb', line 26 def self.delete(id) raise Mondido::Exceptions::NotApplicable.new 'Can not delete Transaction' end |