Class: FedexWebServices::Soap::Rate::CurrencyExchangeRate
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::CurrencyExchangeRate
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13CurrencyExchangeRate
fromCurrency - SOAP::SOAPString
intoCurrency - SOAP::SOAPString
rate - SOAP::SOAPDecimal
Instance Attribute Summary collapse
-
#fromCurrency ⇒ Object
Returns the value of attribute fromCurrency.
-
#intoCurrency ⇒ Object
Returns the value of attribute intoCurrency.
-
#rate ⇒ Object
Returns the value of attribute rate.
Instance Method Summary collapse
-
#initialize(fromCurrency = nil, intoCurrency = nil, rate = nil) ⇒ CurrencyExchangeRate
constructor
A new instance of CurrencyExchangeRate.
Constructor Details
#initialize(fromCurrency = nil, intoCurrency = nil, rate = nil) ⇒ CurrencyExchangeRate
Returns a new instance of CurrencyExchangeRate.
431 432 433 434 435 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 431 def initialize(fromCurrency = nil, intoCurrency = nil, rate = nil) @fromCurrency = fromCurrency @intoCurrency = intoCurrency @rate = rate end |
Instance Attribute Details
#fromCurrency ⇒ Object
Returns the value of attribute fromCurrency.
427 428 429 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 427 def fromCurrency @fromCurrency end |
#intoCurrency ⇒ Object
Returns the value of attribute intoCurrency.
428 429 430 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 428 def intoCurrency @intoCurrency end |
#rate ⇒ Object
Returns the value of attribute rate.
429 430 431 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 429 def rate @rate end |