Class: PushHandler::Config
- Inherits:
-
Object
- Object
- PushHandler::Config
- Defined in:
- lib/push_handler/config.rb
Instance Attribute Summary collapse
-
#commit_url ⇒ Object
Returns the value of attribute commit_url.
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#services ⇒ Object
Returns the value of attribute services.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 10 11 |
# File 'lib/push_handler/config.rb', line 7 def initialize @repo = Hash.new('') @services = Hash.new() @commit_url = '' end |
Instance Attribute Details
#commit_url ⇒ Object
Returns the value of attribute commit_url.
4 5 6 |
# File 'lib/push_handler/config.rb', line 4 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.
5 6 7 |
# File 'lib/push_handler/config.rb', line 5 def services @services end |