Method: Helpers#slugify
- Defined in:
- lib/user/helpers/helpers.rb
#slugify(data) ⇒ Object
Slugify.
Slugify a text using an object type.
Parameters
- data
-
(Hash) – Data to be submited.
Example
23 24 25 |
# File 'lib/user/helpers/helpers.rb', line 23 def slugify(data) #TODO: Research use of variable polymorphicObjectType return @client.raw("post", "/helpers/slugify", nil, data_transform(data)) end |