Sha256: 462aa0a4904bdb2d1e8b570822d49c1a3b6d517eea4fa5537b05656656d80ca3

Contents?: true

Size: 444 Bytes

Versions: 15

Compression:

Stored size: 444 Bytes

Contents

module Topsy
  class SearchCounts < Hashie::Dash
    property :h, :default => 0
    property :d, :default => 0
    property :w, :default => 0
    property :m, :default => 0
    property :a, :default => 0
    
    alias :hour :h
    alias :this_hour :h
    
    alias :today :d
    
    alias :week :w
    alias :this_week :w
    
    alias :month :m
    alias :this_month :m
    
    alias :overall :a
    alias :all_time :a
    
    
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
topsy-1.0.1 lib/topsy/search_counts.rb
topsy-1.0.0 lib/topsy/search_counts.rb
topsy-0.6.0 lib/topsy/search_counts.rb
topsy-0.5.1 lib/topsy/search_counts.rb
topsy-0.5.0 lib/topsy/search_counts.rb
topsy-0.4.0 lib/topsy/search_counts.rb
topsy-0.3.6 lib/topsy/search_counts.rb
topsy-0.3.5 lib/topsy/search_counts.rb
topsy-0.3.4 lib/topsy/search_counts.rb
topsy-0.3.3 lib/topsy/search_counts.rb
topsy-0.3.2 lib/topsy/search_counts.rb
topsy-0.3.1 lib/topsy/search_counts.rb
topsy-0.2.1 lib/topsy/search_counts.rb
topsy-0.3.0 lib/topsy/search_counts.rb
topsy-0.2.0 lib/topsy/search_counts.rb