Class: ActiveSms::Sms

Inherits:
Object
  • Object
show all
Defined in:
lib/activesms/sms.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



5
6
7
# File 'lib/activesms/sms.rb', line 5

def body
  @body
end

#fromObject

Returns the value of attribute from.



4
5
6
# File 'lib/activesms/sms.rb', line 4

def from
  @from
end

#recipientsObject

Returns the value of attribute recipients.



3
4
5
# File 'lib/activesms/sms.rb', line 3

def recipients
  @recipients
end

Instance Method Details

#to_sObject



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