Class: Abak::Flow::Manager
- Inherits:
-
Object
- Object
- Abak::Flow::Manager
- Includes:
- Singleton
- Defined in:
- lib/abak-flow/manager.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.configuration ⇒ Object
23 24 25 |
# File 'lib/abak-flow/manager.rb', line 23 def configuration instance.configuration end |
.git ⇒ Object
11 12 13 |
# File 'lib/abak-flow/manager.rb', line 11 def git instance.git end |
.github ⇒ Object
15 16 17 |
# File 'lib/abak-flow/manager.rb', line 15 def github instance.github end |
.locale ⇒ Object
19 20 21 |
# File 'lib/abak-flow/manager.rb', line 19 def locale instance.locale end |
.repository ⇒ Object
27 28 29 |
# File 'lib/abak-flow/manager.rb', line 27 def repository instance.repository end |
Instance Method Details
#configuration ⇒ Object
32 33 34 |
# File 'lib/abak-flow/manager.rb', line 32 def configuration @configuration ||= Configuration.new end |
#git ⇒ Object
47 48 49 |
# File 'lib/abak-flow/manager.rb', line 47 def git @git ||= Git.open(".") end |
#github ⇒ Object
40 41 42 43 44 45 |
# File 'lib/abak-flow/manager.rb', line 40 def github @github ||= Octokit::Client.new( login: configuration.login, password: configuration.password, proxy: configuration.http_proxy) end |
#locale ⇒ Object
51 52 53 |
# File 'lib/abak-flow/manager.rb', line 51 def locale @locale ||= Locale.new(configuration.locale) end |
#repository ⇒ Object
36 37 38 |
# File 'lib/abak-flow/manager.rb', line 36 def repository @repository ||= Repository.new end |