Class: FedexWebServices::Soap::Ship::CurrencyExchangeRate

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

Instance Method Summary collapse

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

#fromCurrencyObject

Returns the value of attribute fromCurrency.



740
741
742
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 740

def fromCurrency
  @fromCurrency
end

#intoCurrencyObject

Returns the value of attribute intoCurrency.



741
742
743
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 741

def intoCurrency
  @intoCurrency
end

#rateObject

Returns the value of attribute rate.



742
743
744
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 742

def rate
  @rate
end