lib/zenvia.rb in zenvia-rb-0.0.10 vs lib/zenvia.rb in zenvia-rb-0.0.11
- old
+ new
@@ -12,9 +12,9 @@
def self.config
@config ||= Config.new
end
# alias for Zenvia::SMS.send_message(*args)
- def self.send_message(from = nil, number, message)
- SMS.send_message(from, number, message)
+ def self.send_message(number, message, from = nil)
+ SMS.send_message number, message, from
end
end