Class: RoadForest::Resource::RDF::LeafItem
- Inherits:
-
ReadOnly
- Object
- Webmachine::Resource
- ReadOnly
- RoadForest::Resource::RDF::LeafItem
- Includes:
- RoadForest::Resource::Role::Writable
- Defined in:
- lib/roadforest/resource/leaf-item.rb
Overview
Used for a simple resource that has properties that can be updated, but doesn’t have any children - for example a comment
Instance Attribute Summary
Attributes inherited from ReadOnly
#content_engine, #interface, #trace
Instance Method Summary collapse
Methods included from RoadForest::Resource::Role::Writable
allowed_methods, #content_types_accepted, #delete_resource, included, #known_content_type, #post_is_create, #request_body
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_methods ⇒ Object
14 15 16 |
# File 'lib/roadforest/resource/leaf-item.rb', line 14 def allowed_methods super + Role::Writable.allowed_methods end |