Module: GithubStats
- Defined in:
- lib/githubstats.rb,
lib/githubstats/data.rb,
lib/githubstats/version.rb
Overview
Define the version
Defined Under Namespace
Classes: Data, Datapoint, User
Constant Summary collapse
- DEFAULT_HOST =
Default host for grabbing data
(ENV['GITHUB_URL'] || 'https://github.com').freeze
- DEFAULT_URL =
Default URL for grabbing data
"#{DEFAULT_HOST}/users/%s/contributions"- GITHUB_MAGIC =
This is the magic constant used for determining outliers
3.77972616981- VERSION =
'4.0.1'
Class Method Summary collapse
-
.new(*args) ⇒ Object
Helper method for creating new user objects.
Class Method Details
.new(*args) ⇒ Object
Helper method for creating new user objects
25 26 27 |
# File 'lib/githubstats.rb', line 25 def self.new(*args) self::User.new(*args) end |