Module: Slack::Endpoint::Stars
- Included in:
- Slack::Endpoint
- Defined in:
- lib/slack/endpoint/stars.rb
Instance Method Summary collapse
-
#stars_add(options = {}) ⇒ Object
Adds a star to an item.
-
#stars_list(options = {}) ⇒ Object
Lists stars for a user.
-
#stars_remove(options = {}) ⇒ Object
Removes a star from an item.
Instance Method Details
#stars_add(options = {}) ⇒ Object
Adds a star to an item.
20 21 22 |
# File 'lib/slack/endpoint/stars.rb', line 20 def stars_add(={}) post("stars.add", ) end |
#stars_list(options = {}) ⇒ Object
Lists stars for a user.
34 35 36 |
# File 'lib/slack/endpoint/stars.rb', line 34 def stars_list(={}) post("stars.list", ) end |
#stars_remove(options = {}) ⇒ Object
Removes a star from an item.
52 53 54 |
# File 'lib/slack/endpoint/stars.rb', line 52 def stars_remove(={}) post("stars.remove", ) end |