Class: ForestLiana::MixpanelEventSerializer

Inherits:
Object
  • Object
show all
Includes:
ForestAdmin::JSONAPI::Serializer
Defined in:
app/serializers/forest_liana/mixpanel_event_serializer.rb

Instance Method Summary collapse

Instance Method Details



16
17
18
# File 'app/serializers/forest_liana/mixpanel_event_serializer.rb', line 16

def self_link
  nil
end

#typeObject



20
21
22
# File 'app/serializers/forest_liana/mixpanel_event_serializer.rb', line 20

def type
  @options[:context][:type] || 'mixpanel_events'
end