Class: HelpScout::SingleItemEnvelope
- Inherits:
-
Object
- Object
- HelpScout::SingleItemEnvelope
- Defined in:
- lib/helpscout/models.rb
Overview
Single Item Envelope
Instance Attribute Summary collapse
-
#item ⇒ Object
readonly
Returns the value of attribute item.
Instance Method Summary collapse
-
#initialize(object) ⇒ SingleItemEnvelope
constructor
Creates a new SingleItemEnvelope object from a Hash of attributes.
Constructor Details
#initialize(object) ⇒ SingleItemEnvelope
Creates a new SingleItemEnvelope object from a Hash of attributes
24 25 26 |
# File 'lib/helpscout/models.rb', line 24 def initialize(object) @item = object["item"] end |
Instance Attribute Details
#item ⇒ Object (readonly)
Returns the value of attribute item.
21 22 23 |
# File 'lib/helpscout/models.rb', line 21 def item @item end |