Class: CurrencyRequest
- Inherits:
-
Object
- Object
- CurrencyRequest
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/request/currency_request.rb
Overview
Model object for body of request to represent results in a certain currency.
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#currency ⇒ Object
- CurrencyIso
-
the currency in which to represent results.
Instance Method Summary collapse
-
#initialize(currency) ⇒ CurrencyRequest
constructor
A new instance of CurrencyRequest.
Methods included from MangoPay::Jsonifier
Constructor Details
#initialize(currency) ⇒ CurrencyRequest
Returns a new instance of CurrencyRequest.
10 11 12 |
# File 'lib/mangopay/model/request/currency_request.rb', line 10 def initialize(currency) self.currency = currency end |
Instance Attribute Details
#currency ⇒ Object
- CurrencyIso
-
the currency in which to represent results
8 9 10 |
# File 'lib/mangopay/model/request/currency_request.rb', line 8 def currency @currency end |