Module: Rebrandly
- Defined in:
- lib/rebrandly_shortner.rb
Class Method Summary collapse
Class Method Details
.shorten(destination, options = {}) ⇒ Object
5 6 7 |
# File 'lib/rebrandly_shortner.rb', line 5 def shorten(destination, = {}) Rebrandly::Client.post('links', .merge(destination: destination)) end |