module Croods::Resource::Paths

Public Instance Methods

collection_path() click to toggle source
# File lib/croods/resource/paths.rb, line 6
def collection_path
  "/#{route_name}"
end
member_path() click to toggle source
# File lib/croods/resource/paths.rb, line 10
def member_path
  "/#{route_name}/{(%23%2Fdefinitions" \
    "%2F#{resource_name}%2Fdefinitions%2Fid)}"
end