Class: Fuci::TeamCity::Request

Inherits:
Struct
  • Object
show all
Defined in:
lib/fuci/team_city/request.rb

Constant Summary collapse

SCHEME =
'http'

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#resourceObject

Returns the value of attribute resource

Returns:

  • (Object)

    the current value of resource



5
6
7
# File 'lib/fuci/team_city/request.rb', line 5

def resource
  @resource
end

Instance Method Details

#callObject



8
9
10
11
# File 'lib/fuci/team_city/request.rb', line 8

def call
  request_obj.basic_auth username, password
  start.body
end