paging and a little styling
This commit is contained in:
@ -4,9 +4,9 @@ class SmsSender
|
||||
attr_accessor :message
|
||||
|
||||
def initialize args_as_hash
|
||||
@from = args_as_hash["from"] ||= ENV["twilio_number"]
|
||||
@to = args_as_hash["to"]
|
||||
@message = args_as_hash["message"]
|
||||
@from = args_as_hash[:from] ||= ENV["twilio_number"]
|
||||
@to = args_as_hash[:to]
|
||||
@message = args_as_hash[:message]
|
||||
end
|
||||
|
||||
def send!
|
Reference in New Issue
Block a user