Class: CurrencyRequest

Inherits:
Object
  • Object
show all
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

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

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

#currencyObject

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