lib/semaphore/sms/client.rb in semaphore-sms-0.1.2 vs lib/semaphore/sms/client.rb in semaphore-sms-0.1.3

- old
+ new

@@ -8,10 +8,10 @@ class Client extend Forwardable Response = Struct.new(:status, :content) def initialize(config) - raise Semaphore::Sms::Error, 'Config must have app credentials' unless config.respond_to? :api_key + raise Semaphore::Sms::Error, 'Config must have api key credentials' unless config.respond_to? :api_key @config = config end #TODO: add number validation here. Use piliponi gem. def send(message, recipients, sendername = nil)