Class: FedexWebServices::Soap::Ship::CurrencyExchangeRate
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::CurrencyExchangeRate
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12CurrencyExchangeRate
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.
744 745 746 747 748 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 744 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.
740 741 742 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 740 def fromCurrency @fromCurrency end |
#intoCurrency ⇒ Object
Returns the value of attribute intoCurrency.
741 742 743 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 741 def intoCurrency @intoCurrency end |
#rate ⇒ Object
Returns the value of attribute rate.
742 743 744 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 742 def rate @rate end |