Class: FedexWebServices::Soap::Rate::Money

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/RateServiceDefinitions.rb

Overview

http://fedex.com/ws/rate/v13Money

currency - SOAP::SOAPString
amount - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(currency = nil, amount = nil) ⇒ Money

Returns a new instance of Money.



1660
1661
1662
1663
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1660

def initialize(currency = nil, amount = nil)
  @currency = currency
  @amount = amount
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



1658
1659
1660
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1658

def amount
  @amount
end

#currencyObject

Returns the value of attribute currency.



1657
1658
1659
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1657

def currency
  @currency
end