Class: Umami::Models::SessionData

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

Overview

Represents custom data associated with a session

Instance Method Summary collapse

Methods inherited from Base

#readonly?

Instance Method Details

#valueObject



19
20
21
22
23
24
25
# File 'lib/umami/models/session_data.rb', line 19

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