Created
April 14, 2016 08:17
-
-
Save esshka/33f9da8e778fea7fb1b9b85397908594 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CurrencyRateRequestBeanContainer < WashOut::Type | |
type_name 'currencyRateRequestBean' | |
map :currencyRateRequest => { | |
date: :datetime, | |
sourceCurrency: :string, | |
targetCurrency: :string | |
} | |
end | |
class GetCurrencyRates < WashOut::Type | |
map :currencyRatesRequest => CurrencyRateRequestBeanContainer | |
end | |
class CurrencyRateResponseBeanContainer < WashOut::Type | |
type_name 'currencyRateResponseBean' | |
map :currencyRateResponse => { | |
actualDate: :datetime, | |
conversionRate: :decimal, | |
requestDate: :datetime, | |
sourceCurrency: :string, | |
targetCurrency: :string | |
} | |
end | |
class GetCurrencyRatesResponse < WashOut::Type | |
map :return => CurrencyRateResponseBeanContainer | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment