class RoadForest::Resource::RDF::ParentItem

Used for a resource that has properties itself that can be updated, and also has one or more kinds of dependent or subordinate resources - can new resources be created by posting to this one? e.g. a post, which can have comments

Public Instance Methods

allowed_methods() click to toggle source
# File lib/roadforest/resource/parent-item.rb, line 17
def allowed_methods
  (super + [Role::Writable, Role::HasChildren].inject([]) do |list, mod|
    list + mod.allowed_methods
  end).uniq
end