Class: Rakuna::Resource::Basic

Inherits:
Webmachine::Resource
  • Object
show all
Includes:
Contracts, Accepts::Input, Provides::Output
Defined in:
lib/rakuna/resource/basic.rb

Direct Known Subclasses

Action, Collection, Item

Instance Method Summary collapse

Methods included from Provides::Output

#content_types_provided, #output, #output_method

Methods included from Accepts::Input

#input

Instance Method Details

#allowed_methodsObject



14
15
16
# File 'lib/rakuna/resource/basic.rb', line 14

def allowed_methods
  %w(HEAD GET)
end