Class: Postmen::Customs
- Inherits:
-
Object
- Object
- Postmen::Customs
- Includes:
- Common
- Defined in:
- lib/postmen/customs.rb
Instance Attribute Summary collapse
-
#billing ⇒ Object
readonly
Returns the value of attribute billing.
-
#eei ⇒ Object
readonly
Returns the value of attribute eei.
-
#importer_address ⇒ Object
readonly
Returns the value of attribute importer_address.
-
#passport ⇒ Object
readonly
Returns the value of attribute passport.
-
#purpose ⇒ Object
readonly
Returns the value of attribute purpose.
-
#terms_of_trade ⇒ Object
readonly
Returns the value of attribute terms_of_trade.
Instance Method Summary collapse
-
#initialize(options) ⇒ Customs
constructor
A new instance of Customs.
Methods included from Common
Constructor Details
#initialize(options) ⇒ Customs
Returns a new instance of Customs.
12 13 14 15 16 17 18 19 |
# File 'lib/postmen/customs.rb', line 12 def initialize() @purpose = [:purpose] @terms_of_trade = [:terms_of_trade] @eei = [:eei] @billing = [:billing] @importer_address = [:importer_address] @passport = [:passport] end |
Instance Attribute Details
#billing ⇒ Object (readonly)
Returns the value of attribute billing.
5 6 7 |
# File 'lib/postmen/customs.rb', line 5 def billing @billing end |
#eei ⇒ Object (readonly)
Returns the value of attribute eei.
5 6 7 |
# File 'lib/postmen/customs.rb', line 5 def eei @eei end |
#importer_address ⇒ Object (readonly)
Returns the value of attribute importer_address.
5 6 7 |
# File 'lib/postmen/customs.rb', line 5 def importer_address @importer_address end |
#passport ⇒ Object (readonly)
Returns the value of attribute passport.
5 6 7 |
# File 'lib/postmen/customs.rb', line 5 def passport @passport end |
#purpose ⇒ Object (readonly)
Returns the value of attribute purpose.
5 6 7 |
# File 'lib/postmen/customs.rb', line 5 def purpose @purpose end |
#terms_of_trade ⇒ Object (readonly)
Returns the value of attribute terms_of_trade.
5 6 7 |
# File 'lib/postmen/customs.rb', line 5 def terms_of_trade @terms_of_trade end |