Class: Focus::ChangeSlackPresence
- Inherits:
-
Action
- Object
- Action
- Focus::ChangeSlackPresence
show all
- Defined in:
- lib/focus/actions/change_slack_presence.rb
Instance Method Summary
collapse
Methods inherited from Action
#call, #config, #error_message
Instance Method Details
3
4
5
6
|
# File 'lib/focus/actions/change_slack_presence.rb', line 3
def perform
res = Utils::WebClient.post url
fail_action!(error: res) unless res.success?
end
|