Class: Sambot::Slack::API
- Inherits:
-
Object
- Object
- Sambot::Slack::API
- Defined in:
- lib/sambot/slack/api.rb
Class Method Summary collapse
Class Method Details
.connect ⇒ Object
5 6 7 8 9 |
# File 'lib/sambot/slack/api.rb', line 5 def self.connect client_id = '3MVG99qusVZJwhsmVNpi.WqbGRUWtQC6srXMiq4QA.HjbH.jC.HsY24FyEzrtiGgfWTn7glS1Ni7P_xaUfyG3' client_secret = '4690317352869892602' Restforce.new(:client_id => client_id, :client_secret => client_secret, :username => '[email protected]', :password => 'Xamarin[2023]com99123') end |