module Croque

Constants

VERSION

Public Class Methods

aggregate(date) click to toggle source
# File lib/croque.rb, line 42
def aggregate(date)
  Croque::Aggregator.aggregate(date)
end
all() click to toggle source
# File lib/croque.rb, line 46
def all
  # Get Aggregated List
  # return date list as Array
  Croque::Aggregator.all
end
config() click to toggle source
# File lib/croque.rb, line 14
def self.config
  @config
end
configure() { |config ||= configuration| ... } click to toggle source
# File lib/croque.rb, line 10
def self.configure(&block)
  yield @config ||= Croque::Configuration.new
end
ranking(date, page: nil, per: nil) click to toggle source
# File lib/croque.rb, line 52
def ranking(date, page: nil, per: nil)
  # Get ranking as Sorted Array
  # limit = 0 => all lines
  Croque::Monsieur.get_list(date, page, per)
end
total_count(date) click to toggle source
# File lib/croque.rb, line 58
def total_count(date)
  Croque::Monsieur.total_count(date)
end