lib/zenvia.rb in zenvia-rb-0.0.11 vs lib/zenvia.rb in zenvia-rb-0.1.0
- old
+ new
@@ -12,9 +12,17 @@
def self.config
@config ||= Config.new
end
# alias for Zenvia::SMS.send_message(*args)
- def self.send_message(number, message, from = nil)
- SMS.send_message number, message, from
+ def self.send_message(number, message, options = {})
+ SMS.send_message number, message, options
+ end
+
+ def self.send_multiple_messages(list = [])
+ SMS.send_multiple_messages list
+ end
+
+ def self.lookup(id)
+ SMS.lookup id
end
end