Class: RoadForest::Resource::RDF::List

Inherits:
ReadOnly
  • Object
show all
Includes:
RoadForest::Resource::Role::HasChildren
Defined in:
lib/roadforest/resource/list.rb

Overview

Used for a resource that simply represents a list of other resources without having any properties itself - a list of posts, for instance

Instance Attribute Summary

Attributes inherited from ReadOnly

#content_engine, #interface, #trace

Instance Method Summary collapse

Methods included from RoadForest::Resource::Role::HasChildren

allowed_methods, #post_is_create, #process_post

Methods inherited from ReadOnly

#content_types_provided, #error_data, #expires, #finish_request, #generate_etag, #interface_supports, #is_authorized?, #last_modified, #method, #params, register, #request_accept_header, #request_uri, #required_grants, #resource_exists?, #response_body=, #response_content_type=, #retrieve_interface, #send, #set_error_body, #trace?

Instance Method Details

#allowed_methodsObject



13
14
15
# File 'lib/roadforest/resource/list.rb', line 13

def allowed_methods
  super + Role::HasChildren.allowed_methods
end