Class: ActiveSms::Sms
- Inherits:
-
Object
- Object
- ActiveSms::Sms
- Defined in:
- lib/activesms/sms.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#from ⇒ Object
Returns the value of attribute from.
-
#recipients ⇒ Object
Returns the value of attribute recipients.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
5 6 7 |
# File 'lib/activesms/sms.rb', line 5 def body @body end |
#from ⇒ Object
Returns the value of attribute from.
4 5 6 |
# File 'lib/activesms/sms.rb', line 4 def from @from end |
#recipients ⇒ Object
Returns the value of attribute recipients.
3 4 5 |
# File 'lib/activesms/sms.rb', line 3 def recipients @recipients end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/activesms/sms.rb', line 7 def to_s "#<#{self.class.name} @recipients=#{recipients.inspect} @from=#{from.inspect} @body=#{body.inspect}>" end |