Class: Thingdeck::Thing
Instance Method Summary collapse
-
#initialize(wrapper) ⇒ Thing
constructor
A new instance of Thing.
- #properties ⇒ Object
Methods inherited from Item
#all, #create, #destroy, #find, #update
Constructor Details
#initialize(wrapper) ⇒ Thing
Returns a new instance of Thing.
3 4 5 |
# File 'lib/thingdeck/thing.rb', line 3 def initialize(wrapper) super(wrapper, 'things') end |
Instance Method Details
#properties ⇒ Object
7 8 9 |
# File 'lib/thingdeck/thing.rb', line 7 def properties @properties ||= Property.new(@wrapper, 'things') end |