Class: ActiveAnalytics::ViewsPerDay::Site

Inherits:
Object
  • Object
show all
Defined in:
app/models/active_analytics/views_per_day.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(host, total) ⇒ Site

Returns a new instance of Site.



13
14
15
# File 'app/models/active_analytics/views_per_day.rb', line 13

def initialize(host, total)
  @host, @total = host, total
end

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



12
13
14
# File 'app/models/active_analytics/views_per_day.rb', line 12

def host
  @host
end

#totalObject (readonly)

Returns the value of attribute total.



12
13
14
# File 'app/models/active_analytics/views_per_day.rb', line 12

def total
  @total
end