Class: Temando::Item::GeneralGoods

Inherits:
Base
  • Object
show all
Defined in:
lib/temando/item/general_goods.rb

Overview

A GeneralGood is a type of item that can be shipped by Temando.

Instance Attribute Summary

Attributes inherited from Base

#description, #height, #length, #quantity, #weight, #width

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Temando::Item::Base

Instance Method Details

#fragileObject



17
18
19
# File 'lib/temando/item/general_goods.rb', line 17

def fragile
  false
end

#shipping_classObject



5
6
7
# File 'lib/temando/item/general_goods.rb', line 5

def shipping_class
  'General Goods'
end

#shipping_packagingObject



13
14
15
# File 'lib/temando/item/general_goods.rb', line 13

def shipping_packaging
  'Parcel'
end

#shipping_subclassObject



9
10
11
# File 'lib/temando/item/general_goods.rb', line 9

def shipping_subclass
  'Household Goods'
end