Class: Ruzbx::Api::Item
- Inherits:
-
Object
- Object
- Ruzbx::Api::Item
- Defined in:
- lib/ruzbx/api/item.rb
Overview
TODO
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data = nil) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(data = nil) ⇒ Item
Returns a new instance of Item.
9 10 11 |
# File 'lib/ruzbx/api/item.rb', line 9 def initialize(data = nil) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
7 8 9 |
# File 'lib/ruzbx/api/item.rb', line 7 def data @data end |