lib/rsqoot/click.rb in rsqoot-0.4.2 vs lib/rsqoot/click.rb in rsqoot-0.5.0

- old
+ new

@@ -4,14 +4,14 @@ # Retrieve a list of clicks based on the following parameters # # @param [String] :to Start date # @param [String] :from End date # - # @return [Hashie::Mash] + # @return [RSqoot::SqootClick] def clicks(options={}) options = update_by_expire_time options if clicks_not_latest?(options) - @rsqoot_clicks = get('clicks', options) + @rsqoot_clicks = get('clicks', options, SqootClick) @rsqoot_clicks = @rsqoot_clicks.clicks if @rsqoot_clicks end @rsqoot_clicks end \ No newline at end of file