Skip to content

Commit

Permalink
update style
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Feb 1, 2016
1 parent d6068f2 commit 2875bcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/glip-poster/poster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ def set_webhook_url(webhook_url_or_id)
end

def send_message(message, opts = {})
return @http.post do |req|
response = @http.post do |req|
req.url @webhook_url
req.body = @options.merge(opts).merge(body: message)
end

response
end
end
end

0 comments on commit 2875bcc

Please sign in to comment.