Class: MainsmsApi::Message
- Inherits:
-
Object
- Object
- MainsmsApi::Message
- Includes:
- ActiveAttr::MassAssignment, Common
- Defined in:
- lib/mainsms_api/message.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#recipients ⇒ Object
Returns the value of attribute recipients.
-
#run_at ⇒ Object
Returns the value of attribute run_at.
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#test ⇒ Object
Returns the value of attribute test.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Message
constructor
A new instance of Message.
Methods included from Common
Constructor Details
#initialize(args = {}) ⇒ Message
Returns a new instance of Message.
8 9 10 |
# File 'lib/mainsms_api/message.rb', line 8 def initialize(args = {}) super(args) end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'lib/mainsms_api/message.rb', line 6 def @message end |
#recipients ⇒ Object
Returns the value of attribute recipients.
6 7 8 |
# File 'lib/mainsms_api/message.rb', line 6 def recipients @recipients end |
#run_at ⇒ Object
Returns the value of attribute run_at.
6 7 8 |
# File 'lib/mainsms_api/message.rb', line 6 def run_at @run_at end |
#sender ⇒ Object
Returns the value of attribute sender.
6 7 8 |
# File 'lib/mainsms_api/message.rb', line 6 def sender @sender end |
#test ⇒ Object
Returns the value of attribute test.
6 7 8 |
# File 'lib/mainsms_api/message.rb', line 6 def test @test end |