Method: Snitcher::API::Client#add_tags
- Defined in:
- lib/snitcher/api/client.rb
#add_tags(token, tags = []) ⇒ Array<String>
Add one or more tags to an existing snitch, identified by token.
218 219 220 221 222 |
# File 'lib/snitcher/api/client.rb', line 218 def (token, = []) token = CGI.escape(token) post("/v1/snitches/#{token}/tags", Array().flatten) end |