Class: Twilio::REST::Sms
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Sms
- Defined in:
- lib/twilio-ruby/rest/sms.rb
Instance Method Summary collapse
-
#initialize(path, client, params = {}) ⇒ Sms
constructor
A new instance of Sms.
Methods inherited from InstanceResource
#delete, #inspect, #method_missing, #refresh, #update
Methods included from Utils
Constructor Details
#initialize(path, client, params = {}) ⇒ Sms
Returns a new instance of Sms.
4 5 6 7 8 |
# File 'lib/twilio-ruby/rest/sms.rb', line 4 def initialize(path, client, params={}) super @submodule = :SMS resource :messages, :short_codes end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Twilio::REST::InstanceResource