class Smser::Message
Attributes
body[R]
from[R]
options[R]
to[R]
Public Class Methods
new(to:, from:, body:, **options)
click to toggle source
# File lib/smser/message.rb, line 5 def initialize(to:, from:, body:, **options) @to = to @from = from @body = body @options = options end
Public Instance Methods
deliver()
click to toggle source
# File lib/smser/message.rb, line 12 def deliver Smser.deliver_method.call(self) end