Module: Helpers
- Included in:
- Cxf::User
- Defined in:
- lib/user/helpers/helpers.rb
Instance Method Summary collapse
-
#slugify(data) ⇒ Object
Slugify.
Instance Method Details
#slugify(data) ⇒ Object
Slugify.
Slugify a text using an object type.
Parameters
- data
-
(Hash) – Data to be submitted.
Example
17 18 19 |
# File 'lib/user/helpers/helpers.rb', line 17 def slugify(data) @client.raw('post', '/helpers/slugify', nil, data_transform(data)) end |