Module Her::Model::Paths
In: lib/her/model/paths.rb

Methods

Classes and Modules

Module Her::Model::Paths::ClassMethods

Public Instance methods

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

@param [Hash] params An optional set of additional parameters for

  path construction. These will not override attributes of the resource.

[Validate]