class CleverTap::Event
Constants
- DATA_STRING
- EVENT_NAME_STRING
- TYPE_VALUE_STRING
- UPLOAD_LIMIT
Public Class Methods
new(**args)
click to toggle source
Calls superclass method
CleverTap::Entity::new
# File lib/clever_tap/event.rb, line 14 def initialize(**args) super(**args) @name = args[:name] end
Public Instance Methods
to_h()
click to toggle source
Calls superclass method
CleverTap::Entity#to_h
# File lib/clever_tap/event.rb, line 19 def to_h super.merge(put_event_name_pair) end
Private Instance Methods
put_event_name_pair()
click to toggle source
# File lib/clever_tap/event.rb, line 25 def put_event_name_pair raise MissingEventNameError if @name.nil? { EVENT_NAME_STRING => @name } end