Class: PushHandler::Config
- Inherits:
-
Object
- Object
- PushHandler::Config
- Defined in:
- lib/push_handler/config.rb
Instance Attribute Summary collapse
-
#commit_url ⇒ Object
DEPRECATED: please use urls instead.
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#services ⇒ Object
Returns the value of attribute services.
-
#urls ⇒ Object
Returns the value of attribute urls.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_url ⇒ Object
DEPRECATED: please use urls instead
5 6 7 |
# File 'lib/push_handler/config.rb', line 5 def commit_url @commit_url end |
#repo ⇒ Object
Returns the value of attribute repo.
3 4 5 |
# File 'lib/push_handler/config.rb', line 3 def repo @repo end |
#services ⇒ Object
Returns the value of attribute services.
6 7 8 |
# File 'lib/push_handler/config.rb', line 6 def services @services end |
#urls ⇒ Object
Returns the value of attribute urls.
4 5 6 |
# File 'lib/push_handler/config.rb', line 4 def urls @urls end |