convore-simple 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/convore-simple.gemspec +1 -1
- data/lib/convore-simple.rb +1 -1
- metadata +2 -2
data/convore-simple.gemspec
CHANGED
data/lib/convore-simple.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
module ConvoreSimple
|
3
3
|
|
4
4
|
class Topic
|
5
|
-
def self.announce(topic_id, user,
|
5
|
+
def self.announce(topic_id, user, message)
|
6
6
|
url = "https://convore.com/api/topics/#{topic_id}/messages/create.json"
|
7
7
|
return `echo "#{message}" | curl -u "#{user}" -F message="<-" #{url}`
|
8
8
|
end
|