class Abak::Flow::Manager

Public Class Methods

configuration() click to toggle source
# File lib/abak-flow/manager.rb, line 23
def configuration
  instance.configuration
end
git() click to toggle source
# File lib/abak-flow/manager.rb, line 11
def git
  instance.git
end
github() click to toggle source
# File lib/abak-flow/manager.rb, line 15
def github
  instance.github
end
locale() click to toggle source
# File lib/abak-flow/manager.rb, line 19
def locale
  instance.locale
end
repository() click to toggle source
# File lib/abak-flow/manager.rb, line 27
def repository
  instance.repository
end

Public Instance Methods

configuration() click to toggle source
# File lib/abak-flow/manager.rb, line 32
def configuration
  @configuration ||= Configuration.new
end
git() click to toggle source
# File lib/abak-flow/manager.rb, line 47
def git
  @git ||= Git.open(".")
end
github() click to toggle source
# 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() click to toggle source
# File lib/abak-flow/manager.rb, line 51
def locale
  @locale ||= Locale.new(configuration.locale)
end
repository() click to toggle source
# File lib/abak-flow/manager.rb, line 36
def repository
  @repository ||= Repository.new
end