Class: CorreiosSigep::Models::Object
- Inherits:
-
Object
- Object
- CorreiosSigep::Models::Object
- Defined in:
- lib/correios_sigep/models/object.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#item ⇒ Object
Returns the value of attribute item.
-
#num ⇒ Object
Returns the value of attribute num.
-
#ship ⇒ Object
Returns the value of attribute ship.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Object
constructor
A new instance of Object.
Constructor Details
#initialize(options = {}) ⇒ Object
Returns a new instance of Object.
12 13 14 15 16 17 18 |
# File 'lib/correios_sigep/models/object.rb', line 12 def initialize(={}) @description = [:description] @id = [:id] @item = [:item] @num = [:num] @ship = [:ship] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/correios_sigep/models/object.rb', line 4 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/correios_sigep/models/object.rb', line 4 def id @id end |
#item ⇒ Object
Returns the value of attribute item.
4 5 6 |
# File 'lib/correios_sigep/models/object.rb', line 4 def item @item end |
#num ⇒ Object
Returns the value of attribute num.
4 5 6 |
# File 'lib/correios_sigep/models/object.rb', line 4 def num @num end |
#ship ⇒ Object
Returns the value of attribute ship.
4 5 6 |
# File 'lib/correios_sigep/models/object.rb', line 4 def ship @ship end |