Class: Rakuna::Resource::Item

Inherits:
Basic
  • Object
show all
Includes:
Contracts
Defined in:
lib/rakuna/resource/item.rb

Overview

Item Resources allow specific items to be fetched/deleted/replaced.

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



11
12
13
# File 'lib/rakuna/resource/item.rb', line 11

def allowed_methods
  %w(HEAD GET PUT DELETE)
end