Class: Status::CiRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/status/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCiRequest

Returns a new instance of CiRequest.



26
27
28
29
# File 'lib/status/request.rb', line 26

def initialize
  @url = Status.ci_url
  @options = {:user => Status.ci_user, :password => Status.ci_password}
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



25
26
27
# File 'lib/status/request.rb', line 25

def options
  @options
end

#urlObject (readonly)

Returns the value of attribute url.



25
26
27
# File 'lib/status/request.rb', line 25

def url
  @url
end