Permalink
Browse files

Updated to Crystal > 0.15.0

  • Loading branch information...
1 parent 9e75960 commit f3662ea24b06024c98f278525ab4c07ab55d32ec @asterite asterite committed Apr 12, 2016
Showing with 6 additions and 4 deletions.
  1. +2 −2 shard.yml
  2. +1 −1 src/slack/api.cr
  3. +3 −1 src/slack/slash_command.cr
View
@@ -1,10 +1,10 @@
name: slack
-version: 0.4.0
+version: 0.5.0
authors:
- Ary Borenszweig <aborenszweig@manas.com.ar>
development_dependencies:
webmock:
github: manastech/webmock.cr
- version: "~> 0.6.0"
+ version: "~> 0.7.0"
View
@@ -1,5 +1,5 @@
class Slack::API
- def initialize(@token)
+ def initialize(@token : String)
@client = HTTP::Client.new "slack.com", ssl: true
end
@@ -28,6 +28,8 @@ class Slack::SlashCommand
)
end
- def initialize(@token, @team_id, @channel_id, @channel_name, @user_id, @user_name, @command, @text)
+ def initialize(@token : String, @team_id : String, @channel_id : String,
+ @channel_name : String, @user_id : String, @user_name : String,
+ @command : String, @text : String)
end
end

0 comments on commit f3662ea

Please sign in to comment.