Class: PushHandler::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



8
9
10
11
12
13
# File 'lib/push_handler/config.rb', line 8

def initialize
	@repo = Hash.new('')
	@services = Hash.new()
	@commit_url = ''
	@urls = Hash.new('')
end

Instance Attribute Details

#commit_urlObject

DEPRECATED: please use urls instead



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

def commit_url
  @commit_url
end

#repoObject

Returns the value of attribute repo.



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

def repo
  @repo
end

#servicesObject

Returns the value of attribute services.



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

def services
  @services
end

#urlsObject

Returns the value of attribute urls.



4
5
6
# File 'lib/push_handler/config.rb', line 4

def urls
  @urls
end