class CheckMobi::Resources::Voice::Events

Public Instance Methods

to_hash() click to toggle source
Calls superclass method
# File lib/check_mobi/resources/voice/events.rb, line 11
def to_hash
  super.merge({action: action})
end

Private Instance Methods

after_initialize() click to toggle source
# File lib/check_mobi/resources/voice/events.rb, line 17
def after_initialize # overridden by subclasses
  @action = self.class.name.split('::').last.cm_underscore!
end