Class: ActionShortMessage::SMSProviders::Test
- Defined in:
- lib/action_short_message/sms_providers/test.rb
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Test
constructor
A new instance of Test.
- #send_message(message, params = {}) ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(params = {}) ⇒ Test
Returns a new instance of Test.
4 5 6 |
# File 'lib/action_short_message/sms_providers/test.rb', line 4 def initialize(params = {}) super(params) end |
Instance Method Details
#send_message(message, params = {}) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/action_short_message/sms_providers/test.rb', line 8 def (, params = {}) puts "SMS TEST: send short message to #{params[:to]}, context:" puts 'options' puts params puts puts 'Completed!' super(, params) end |