Class: Evergreen::Connection
- Inherits:
-
Object
- Object
- Evergreen::Connection
- Includes:
- Mixins::RetrievalMethods
- Defined in:
- lib/evergreen/connection.rb
Overview
This class provides an interface for making requests to the Evergreen server
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Instance Method Summary collapse
- #close ⇒ Object
- #idl ⇒ Object
-
#initialize(configuration:) ⇒ Connection
constructor
A new instance of Connection.
Methods included from Mixins::RetrievalMethods
Constructor Details
#initialize(configuration:) ⇒ Connection
Returns a new instance of Connection.
10 11 12 |
# File 'lib/evergreen/connection.rb', line 10 def initialize(configuration:) @configuration = configuration end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
8 9 10 |
# File 'lib/evergreen/connection.rb', line 8 def configuration @configuration end |