Class: Shard
- Inherits:
-
Object
- Object
- Shard
- Defined in:
- lib/shard.rb,
lib/shard/ref.rb,
lib/shard/gist.rb,
lib/shard/saver.rb,
lib/shard/lister.rb,
lib/shard/loader.rb,
lib/shard/credentials.rb,
lib/shard/shard_directory.rb
Defined Under Namespace
Modules: CLI, ShardDirectory Classes: Credentials, Gist, Lister, Loader, Ref, Saver
Class Method Summary collapse
Class Method Details
.api ⇒ Object
3 4 5 |
# File 'lib/shard.rb', line 3 def self.api @api ||= Octokit::Client.new netrc: (Credentials.saved? && Credentials.valid?) end |