module Her::Model::Paths
Public Instance Methods
request_path()
click to toggle source
Return a path based on the collection path and a resource data
@example
class User include Her::Model collection_path "/utilisateurs" end User.find(1) # Fetched via GET /utilisateurs/1
# File lib/her/model/paths.rb, line 14 def request_path self.class.build_request_path(@data.dup) end