Class: Thingdeck::Collection

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

Instance Method Summary collapse

Methods inherited from Item

#all, #create, #destroy, #find

Constructor Details

#initialize(wrapper) ⇒ Collection

Returns a new instance of Collection.



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

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

Instance Method Details

#thingsObject



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

def things
  @things ||= Collections::Thing.new(@wrapper)
end

#updateObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/thingdeck/collection.rb', line 11

def update
  raise NotImplementedError
end