Class: FedexWebServices::Soap::Ship::ValidatedHazardousCommodityContent

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description = nil, quantity = nil, options = nil) ⇒ ValidatedHazardousCommodityContent

Returns a new instance of ValidatedHazardousCommodityContent.



3518
3519
3520
3521
3522
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3518

def initialize(description = nil, quantity = nil, options = nil)
  @description = description
  @quantity = quantity
  @options = options
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



3514
3515
3516
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3514

def description
  @description
end

#optionsObject

Returns the value of attribute options.



3516
3517
3518
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3516

def options
  @options
end

#quantityObject

Returns the value of attribute quantity.



3515
3516
3517
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3515

def quantity
  @quantity
end