Class: Snowfinch::Collector::Click
- Inherits:
-
Object
- Object
- Snowfinch::Collector::Click
- Defined in:
- lib/snowfinch/collector/click.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Click
constructor
A new instance of Click.
- #save ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Click
Returns a new instance of Click.
11 12 13 |
# File 'lib/snowfinch/collector/click.rb', line 11 def initialize(attributes={}) @attributes = attributes end |
Instance Method Details
#save ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/snowfinch/collector/click.rb', line 15 def save if uri && uuid update_site_count update_page_count update_visit update_visitor update_sensors true else false end end |