Class: Providers::SmsProvider
- Inherits:
-
Object
show all
- Defined in:
- lib/multi_sms/providers/sms_provider.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object
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
5
6
7
|
# File 'lib/multi_sms/providers/sms_provider.rb', line 5
def config
MultiSms.config
end
|