Sha256: 0ca554f3b21d6b1438a695a6a8f78a93134db248b251e84392a75c509a83517f
Contents?: true
Size: 633 Bytes
Versions: 3
Compression:
Stored size: 633 Bytes
Contents
require_relative '../../shared/class_with_attributes' module CheckMobi module Resources module Voice class Events include ClassWithAttributes readonly_attributes :action def to_hash super.merge({action: action}) end private def after_initialize # overridden by subclasses @action = self.class.name.split('::').last.cm_underscore! end end end end end # class << self # attr_reader :required_fields # # def mandatory_fields(*args) # @required_fields = [] # args.each {|field| @required_fields << field} # end # end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
check_mobi-1.0.5 | lib/check_mobi/resources/voice/events.rb |
check_mobi-1.0.4 | lib/check_mobi/resources/voice/events.rb |
check_mobi-1.0.3 | lib/check_mobi/resources/voice/events.rb |