Module: Her::Model::Paths
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#request_path(params = {}) ⇒ Object
Return a path based on the collection path and a resource data.
Instance Method Details
#request_path(params = {}) ⇒ Object
Return a path based on the collection path and a resource data
17 18 19 |
# File 'lib/her/model/paths.rb', line 17 def request_path(params = {}) self.class.build_request_path(params.merge(attributes.dup)) end |