Class: ServerRegistryClient::ServerProcessor::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/server-registry-client/server_processor/base.rb

Direct Known Subclasses

V1

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(server_registry_url_root) ⇒ Base

Returns a new instance of Base.



12
13
14
15
# File 'lib/server-registry-client/server_processor/base.rb', line 12

def initialize(server_registry_url_root)
	@server_registry_url_root = server_registry_url_root
	@hydra = ::Typhoeus::Hydra.new
end

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



10
11
12
# File 'lib/server-registry-client/server_processor/base.rb', line 10

def api_version
  @api_version
end

#last_responseObject (readonly)

Returns the value of attribute last_response.



9
10
11
# File 'lib/server-registry-client/server_processor/base.rb', line 9

def last_response
  @last_response
end

#server_registry_url_rootObject (readonly)

Returns the value of attribute server_registry_url_root.



8
9
10
# File 'lib/server-registry-client/server_processor/base.rb', line 8

def server_registry_url_root
  @server_registry_url_root
end