Class: FedexWebServices::Soap::Ship::Money

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

Overview

http://fedex.com/ws/ship/v12Money

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.



1955
1956
1957
1958
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1955

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

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



1953
1954
1955
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1953

def amount
  @amount
end

#currencyObject

Returns the value of attribute currency.



1952
1953
1954
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1952

def currency
  @currency
end