Class: FedexWebServices::Soap::Rate::Money
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::Money
- 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
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Returns the value of attribute currency.
Instance Method Summary collapse
-
#initialize(currency = nil, amount = nil) ⇒ Money
constructor
A new instance of Money.
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
#amount ⇒ Object
Returns the value of attribute amount.
1658 1659 1660 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1658 def amount @amount end |
#currency ⇒ Object
Returns the value of attribute currency.
1657 1658 1659 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1657 def currency @currency end |