Class: Gitomator::GitHub::BaseProvider
- Inherits:
-
Object
- Object
- Gitomator::GitHub::BaseProvider
- Defined in:
- lib/gitomator/github/base_provider.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(github_client, github_organization = nil) ⇒ BaseProvider
constructor
A new instance of BaseProvider.
- #name ⇒ Object
Constructor Details
#initialize(github_client, github_organization = nil) ⇒ BaseProvider
Returns a new instance of BaseProvider.
14 15 16 17 18 |
# File 'lib/gitomator/github/base_provider.rb', line 14 def initialize(github_client, github_organization=nil) @gh = github_client @org = github_organization @repo_name_resolver = Gitomator::Util::Repo::NameResolver.new(@org) end |
Instance Method Details
#name ⇒ Object
21 22 23 |
# File 'lib/gitomator/github/base_provider.rb', line 21 def name :github end |