Class: Cukebase::Config
- Inherits:
-
Object
- Object
- Cukebase::Config
- Defined in:
- lib/cukebase/config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#category ⇒ Object
Returns the value of attribute category.
-
#failed_status ⇒ Object
Returns the value of attribute failed_status.
-
#host ⇒ Object
Returns the value of attribute host.
-
#invalid_status ⇒ Object
Returns the value of attribute invalid_status.
-
#normal_type ⇒ Object
Returns the value of attribute normal_type.
-
#passed_status ⇒ Object
Returns the value of attribute passed_status.
-
#pending_status ⇒ Object
Returns the value of attribute pending_status.
-
#project ⇒ Object
Returns the value of attribute project.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#regression_type ⇒ Object
Returns the value of attribute regression_type.
-
#undefined_status ⇒ Object
Returns the value of attribute undefined_status.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/cukebase/config.rb', line 21 def initialize @host = "api3.codebasehq.com" @protocol = "https" @category = "Cucumber" @normal_type = "Feature" @regression_type = "Regression" @undefined_status = "Open (undefined steps)" @pending_status = "Open (pending steps)" @failed_status = "Open (failing steps)" @passed_status = "Completed" @invalid_status = "Invalid" end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
7 8 9 |
# File 'lib/cukebase/config.rb', line 7 def api_key @api_key end |
#category ⇒ Object
Returns the value of attribute category.
10 11 12 |
# File 'lib/cukebase/config.rb', line 10 def category @category end |
#failed_status ⇒ Object
Returns the value of attribute failed_status.
17 18 19 |
# File 'lib/cukebase/config.rb', line 17 def failed_status @failed_status end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/cukebase/config.rb', line 3 def host @host end |
#invalid_status ⇒ Object
Returns the value of attribute invalid_status.
19 20 21 |
# File 'lib/cukebase/config.rb', line 19 def invalid_status @invalid_status end |
#normal_type ⇒ Object
Returns the value of attribute normal_type.
12 13 14 |
# File 'lib/cukebase/config.rb', line 12 def normal_type @normal_type end |
#passed_status ⇒ Object
Returns the value of attribute passed_status.
18 19 20 |
# File 'lib/cukebase/config.rb', line 18 def passed_status @passed_status end |
#pending_status ⇒ Object
Returns the value of attribute pending_status.
16 17 18 |
# File 'lib/cukebase/config.rb', line 16 def pending_status @pending_status end |
#project ⇒ Object
Returns the value of attribute project.
9 10 11 |
# File 'lib/cukebase/config.rb', line 9 def project @project end |
#protocol ⇒ Object
Returns the value of attribute protocol.
4 5 6 |
# File 'lib/cukebase/config.rb', line 4 def protocol @protocol end |
#regression_type ⇒ Object
Returns the value of attribute regression_type.
13 14 15 |
# File 'lib/cukebase/config.rb', line 13 def regression_type @regression_type end |
#undefined_status ⇒ Object
Returns the value of attribute undefined_status.
15 16 17 |
# File 'lib/cukebase/config.rb', line 15 def undefined_status @undefined_status end |
#username ⇒ Object
Returns the value of attribute username.
6 7 8 |
# File 'lib/cukebase/config.rb', line 6 def username @username end |