class TeamcityRestClient::Open

Public Class Methods

new(host, port, options = {}) click to toggle source
Calls superclass method TeamcityRestClient::Authentication::new
# File lib/teamcity-rest-client.rb, line 137
def initialize host, port, options = {}
    super(options)
  @host, @port = host, port
end

Public Instance Methods

to_s() click to toggle source
# File lib/teamcity-rest-client.rb, line 147
def to_s
  "No Authentication"
end
url(path, params = {}) click to toggle source
# File lib/teamcity-rest-client.rb, line 142
def url path, params = {}
  query_string = !params.empty? ? "?#{query_string_for(params)}" : ""
  "http://#{@host}:#{@port}#{path}#{query_string}"
end