Class: Cukebase::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_keyObject

Returns the value of attribute api_key.



7
8
9
# File 'lib/cukebase/config.rb', line 7

def api_key
  @api_key
end

#categoryObject

Returns the value of attribute category.



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

def category
  @category
end

#failed_statusObject

Returns the value of attribute failed_status.



17
18
19
# File 'lib/cukebase/config.rb', line 17

def failed_status
  @failed_status
end

#hostObject

Returns the value of attribute host.



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

def host
  @host
end

#invalid_statusObject

Returns the value of attribute invalid_status.



19
20
21
# File 'lib/cukebase/config.rb', line 19

def invalid_status
  @invalid_status
end

#normal_typeObject

Returns the value of attribute normal_type.



12
13
14
# File 'lib/cukebase/config.rb', line 12

def normal_type
  @normal_type
end

#passed_statusObject

Returns the value of attribute passed_status.



18
19
20
# File 'lib/cukebase/config.rb', line 18

def passed_status
  @passed_status
end

#pending_statusObject

Returns the value of attribute pending_status.



16
17
18
# File 'lib/cukebase/config.rb', line 16

def pending_status
  @pending_status
end

#projectObject

Returns the value of attribute project.



9
10
11
# File 'lib/cukebase/config.rb', line 9

def project
  @project
end

#protocolObject

Returns the value of attribute protocol.



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

def protocol
  @protocol
end

#regression_typeObject

Returns the value of attribute regression_type.



13
14
15
# File 'lib/cukebase/config.rb', line 13

def regression_type
  @regression_type
end

#undefined_statusObject

Returns the value of attribute undefined_status.



15
16
17
# File 'lib/cukebase/config.rb', line 15

def undefined_status
  @undefined_status
end

#usernameObject

Returns the value of attribute username.



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

def username
  @username
end