Top Level Namespace
Defined Under Namespace
Classes: GhContributors
Instance Method Summary collapse
-
#json ⇒ Object
static content update for speed and avoiding GH limits read GitHub contributions, transform to urls and update files all public methods return self for easy chaining.
Instance Method Details
#json ⇒ Object
static content update for speed and avoiding GH limits read GitHub contributions, transform to urls and update files all public methods return self for easy chaining
Example:
GhContributors.for_org('railsisntaller').to_urls.update_files('public/contributors.html')
GhContributors.for_repo('railsisntaller/website').to_urls.update_files('public/index.html', 'public/contributors.html')
14 |
# File 'lib/gh_contributors.rb', line 14 require 'json' |