Class: FedexWebServices::Soap::Rate::CurrencyExchangeRate

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

Instance Method Summary collapse

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

#fromCurrencyObject

Returns the value of attribute fromCurrency.



427
428
429
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 427

def fromCurrency
  @fromCurrency
end

#intoCurrencyObject

Returns the value of attribute intoCurrency.



428
429
430
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 428

def intoCurrency
  @intoCurrency
end

#rateObject

Returns the value of attribute rate.



429
430
431
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 429

def rate
  @rate
end