class Smess::Output
Attributes
config[R]
sms[RW]
Public Class Methods
new(config)
click to toggle source
# File lib/smess/output.rb, line 7 def initialize(config) @config = config validate_config end
Public Instance Methods
deliver()
click to toggle source
entry point to the sms delivery process.
# File lib/smess/output.rb, line 18 def deliver raise NotImplementedError.new("You must define deliver in your Smess output class") end
validate_config()
click to toggle source
should be used to make a reasonable validation that the configuration provided is good.
# File lib/smess/output.rb, line 13 def validate_config raise NotImplementedError.new("You must define validate_config in your Smess output class") end