lib/zenvia.rb in zenvia-rb-0.0.6 vs lib/zenvia.rb in zenvia-rb-0.0.7
- old
+ new
@@ -6,13 +6,15 @@
# block of configuration
def self.configure
yield self.config
end
+ # alias for Zenvia::Config
def self.config
- 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)
end
end