Skip to content

Slack messages and file uploads API wrapper in Ruby

License

Notifications You must be signed in to change notification settings

piscespieces/slacku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slacku

Gem under development 🚧

Slack messages and file uploads API wrapper

Installation

This gem is NOT published to Ruby gems yet. But its intended to be used like this once distributed through RubyGems.com

gem "slacku"

and then, execute

bundle
client = Slacku::Api::Client.new("YOUR-ACCESS-TOKEN")

or

# config/initializers/slacku.rb

Slacku.configure do |config|
  config.access_token = "YOUR-ACCESS-TOKEN"
end

Getting Started

This is how you post a simple text message to a Slack channel

params = { channel: "slack-channel-name", text: "howdy!" }
Slacku::Api::Messages.new.post_message(params)

🚧🚧🚧👷🏾‍♂️👷🏾‍♂️👷🏾‍♂️

About

Slack messages and file uploads API wrapper in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published