Class: Umami::Models::Website

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

Overview

Represents a website being tracked

Instance Method Summary collapse

Methods inherited from Base

#readonly?

Instance Method Details

#sessionsObject



19
20
21
# File 'lib/umami/models/website.rb', line 19

def sessions
  Session.by_website(website_id)
end

#website_eventsObject



23
24
25
# File 'lib/umami/models/website.rb', line 23

def website_events
  WebsiteEvent.by_website(website_id)
end