Class: Thingdeck::Thing

Inherits:
Item
  • Object
show all
Defined in:
lib/thingdeck/thing.rb

Instance Method Summary collapse

Methods inherited from Item

#all, #create, #destroy, #find, #update

Constructor Details

#initialize(wrapper) ⇒ Thing



3
4
5
# File 'lib/thingdeck/thing.rb', line 3

def initialize(wrapper)
  super(wrapper, 'things')
end

Instance Method Details

#propertiesObject



7
8
9
# File 'lib/thingdeck/thing.rb', line 7

def properties
  @properties ||= Property.new(@wrapper, 'things')
end