Class: Application::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/makegit/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



5
6
7
8
# File 'lib/makegit/config.rb', line 5

def initialize()
	@user = git_user
	@token = git_token
end

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token.



3
4
5
# File 'lib/makegit/config.rb', line 3

def token
  @token
end

#userObject (readonly)

Returns the value of attribute user.



3
4
5
# File 'lib/makegit/config.rb', line 3

def user
  @user
end

Instance Method Details

#loginObject



10
11
12
# File 'lib/makegit/config.rb', line 10

def 
	[user, token]
end