Class: Rakuna::Resource::Collection
- Inherits:
-
Webmachine::Resource
- Object
- Webmachine::Resource
- Rakuna::Resource::Collection
- Defined in:
- lib/rakuna/resource/collection.rb
Overview
Collection Resources contain multiple resources, and can be added to.
Instance Method Summary collapse
Instance Method Details
#allowed_methods ⇒ Object
7 8 9 |
# File 'lib/rakuna/resource/collection.rb', line 7 def allowed_methods %w(HEAD GET POST) end |
#post_is_create? ⇒ Boolean
11 12 13 |
# File 'lib/rakuna/resource/collection.rb', line 11 def post_is_create? true end |