lib/rsqoot/click.rb in rsqoot-0.3.1 vs lib/rsqoot/click.rb in rsqoot-0.3.2

- old
+ new

@@ -6,9 +6,13 @@ # @param [String] :to Start date # @param [String] :from End date # # @return [Hashie::Mash] def clicks(options={}) - get('clicks', options).clicks + if clicks_not_latest?(options) + @rsqoot_clicks = get('clicks', options) + @rsqoot_clicks = @rsqoot_clicks.clicks if @rsqoot_clicks + end + @rsqoot_clicks end end end \ No newline at end of file