Class: Providers::SmsProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/multi_sms/providers/sms_provider.rb

Direct Known Subclasses

Clickatell, Elk, Twilio

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m, *args, &block) ⇒ Object (private)



10
11
12
# File 'lib/multi_sms/providers/sms_provider.rb', line 10

def method_missing(m, *args, &block)
  self.class.const_get(:API_VERSION)
end

Instance Method Details

#configObject



5
6
7
# File 'lib/multi_sms/providers/sms_provider.rb', line 5

def config
  MultiSms.config
end