Class: ServerRegistryClient::ServerProcessor::Base
- Inherits:
-
Object
- Object
- ServerRegistryClient::ServerProcessor::Base
- Defined in:
- lib/server-registry-client/server_processor/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#api_version ⇒ Object
readonly
Returns the value of attribute api_version.
-
#last_response ⇒ Object
readonly
Returns the value of attribute last_response.
-
#server_registry_url_root ⇒ Object
readonly
Returns the value of attribute server_registry_url_root.
Instance Method Summary collapse
-
#initialize(server_registry_url_root) ⇒ Base
constructor
A new instance of Base.
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_version ⇒ Object
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_response ⇒ Object (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_root ⇒ Object (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 |