Class: Umami::Models::EventData

Inherits:
Base
  • Object
show all
Defined in:
lib/umami/models/event_data.rb

Overview

Represents custom data associated with an event

Instance Method Summary collapse

Methods inherited from Base

#readonly?

Instance Method Details

#valueObject



17
18
19
20
21
22
23
# File 'lib/umami/models/event_data.rb', line 17

def value
  case data_type
  when 1 then string_value
  when 2 then number_value
  when 3 then date_value
  end
end