Class: Rakuna::Resource::Collection
- Includes:
- Contracts
- Defined in:
- lib/rakuna/resource/collection.rb
Overview
Collection Resources contain multiple resources, and can be added to.
Instance Method Summary collapse
Methods included from Provides::Output
#content_types_provided, #output, #output_method
Methods included from Accepts::Input
Instance Method Details
#allowed_methods ⇒ Object
11 12 13 |
# File 'lib/rakuna/resource/collection.rb', line 11 def allowed_methods %w(HEAD GET POST) end |
#post_is_create? ⇒ Boolean
16 17 18 |
# File 'lib/rakuna/resource/collection.rb', line 16 def post_is_create? true end |