Class: Aninipot::Client
- Inherits:
-
Object
- Object
- Aninipot::Client
- Includes:
- Configuration, ClassSupportMixin
- Defined in:
- lib/aninipot/client.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
readonly
Returns the value of attribute api.
-
#from ⇒ Object
readonly
Returns the value of attribute from.
Instance Method Summary collapse
Methods included from Configuration
Methods included from ClassSupportMixin
Instance Attribute Details
#api ⇒ Object (readonly)
Returns the value of attribute api.
11 12 13 |
# File 'lib/aninipot/client.rb', line 11 def api @api end |
#from ⇒ Object (readonly)
Returns the value of attribute from.
11 12 13 |
# File 'lib/aninipot/client.rb', line 11 def from @from end |
Instance Method Details
#send_sms(mobile, message) ⇒ Object
13 14 15 16 |
# File 'lib/aninipot/client.rb', line 13 def send_sms(mobile, ) request = setup_connection(valid_sms_data(mobile, )) response = connect(request) end |