Class: ActiveAnalytics::ViewsPerDay::Site
- Inherits:
-
Object
- Object
- ActiveAnalytics::ViewsPerDay::Site
- Defined in:
- app/models/active_analytics/views_per_day.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(host, total) ⇒ Site
constructor
A new instance of Site.
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
#host ⇒ Object (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 |
#total ⇒ Object (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 |