Class: Yonoma::Tags
- Inherits:
-
Object
- Object
- Yonoma::Tags
- Defined in:
- lib/yonoma/tags.rb
Class Method Summary collapse
- .create(params) ⇒ Object
- .delete(tag_id) ⇒ Object
- .list ⇒ Object
- .retrieve(tag_id) ⇒ Object
- .update(tag_id, params) ⇒ Object
Class Method Details
.create(params) ⇒ Object
7 8 9 |
# File 'lib/yonoma/tags.rb', line 7 def self.create(params) Client.request(:post, "/tags/create", params) end |
.delete(tag_id) ⇒ Object
19 20 21 |
# File 'lib/yonoma/tags.rb', line 19 def self.delete(tag_id) Client.request(:delete, "/tags/#{tag_id}/delete") end |
.list ⇒ Object
3 4 5 |
# File 'lib/yonoma/tags.rb', line 3 def self.list Client.request(:get, "/tags/list") end |