Class: ActionShortMessage::Base::NullMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/action_short_message/base.rb

Overview

:nodoc:

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*_args) ⇒ Object



138
139
140
# File 'lib/action_short_message/base.rb', line 138

def method_missing(*_args)
  nil
end

Instance Method Details

#bodyObject



126
127
128
# File 'lib/action_short_message/base.rb', line 126

def body
  ''
end

#headerObject



130
131
132
# File 'lib/action_short_message/base.rb', line 130

def header
  {}
end

#respond_to?(_string, _include_all = false) ⇒ Boolean

Returns:

  • (Boolean)


134
135
136
# File 'lib/action_short_message/base.rb', line 134

def respond_to?(_string, _include_all = false)
  true
end