Class: SigepWeb::Models::PostalObject
- Inherits:
-
Object
- Object
- SigepWeb::Models::PostalObject
- Defined in:
- lib/sigep_web/Models/postal_object.rb
Instance Attribute Summary collapse
-
#additional_service_codes ⇒ Object
Returns the value of attribute additional_service_codes.
-
#additional_services_declared_value ⇒ Object
Returns the value of attribute additional_services_declared_value.
-
#cubage ⇒ Object
Returns the value of attribute cubage.
-
#dimension_object ⇒ Object
Returns the value of attribute dimension_object.
-
#label_number ⇒ Object
Returns the value of attribute label_number.
-
#postage_code_service ⇒ Object
Returns the value of attribute postage_code_service.
-
#processing_status ⇒ Object
Returns the value of attribute processing_status.
-
#receiver ⇒ Object
Returns the value of attribute receiver.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ PostalObject
constructor
A new instance of PostalObject.
Constructor Details
#initialize(options = {}) ⇒ PostalObject
Returns a new instance of PostalObject.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/sigep_web/Models/postal_object.rb', line 8 def initialize( = {}) @label_number = [:label_number] @postage_code_service = [:postage_code_service] @cubage = [:cubage] @weight = [:weight] @receiver = [:receiver] @dimension_object = [:dimension_object] @processing_status = [:processing_status] @additional_service_codes = [:additional_service_codes] @additional_services_declared_value = [:additional_services_declared_value] end |
Instance Attribute Details
#additional_service_codes ⇒ Object
Returns the value of attribute additional_service_codes.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def additional_service_codes @additional_service_codes end |
#additional_services_declared_value ⇒ Object
Returns the value of attribute additional_services_declared_value.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def additional_services_declared_value @additional_services_declared_value end |
#cubage ⇒ Object
Returns the value of attribute cubage.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def cubage @cubage end |
#dimension_object ⇒ Object
Returns the value of attribute dimension_object.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def dimension_object @dimension_object end |
#label_number ⇒ Object
Returns the value of attribute label_number.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def label_number @label_number end |
#postage_code_service ⇒ Object
Returns the value of attribute postage_code_service.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def postage_code_service @postage_code_service end |
#processing_status ⇒ Object
Returns the value of attribute processing_status.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def processing_status @processing_status end |
#receiver ⇒ Object
Returns the value of attribute receiver.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def receiver @receiver end |
#weight ⇒ Object
Returns the value of attribute weight.
4 5 6 |
# File 'lib/sigep_web/Models/postal_object.rb', line 4 def weight @weight end |