Class: Cymon::Endpoint::Base
- Inherits:
-
Object
- Object
- Cymon::Endpoint::Base
- Defined in:
- lib/cymon/endpoint/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
-
#api_version_path ⇒ Object
Returns the value of attribute api_version_path.
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client) ⇒ Base
Returns a new instance of Base.
11 12 13 14 15 16 |
# File 'lib/cymon/endpoint/base.rb', line 11 def initialize(client) @client = client @api = @client.api_connection @api_version_path = @client.configuration.api_version end |
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
9 10 11 |
# File 'lib/cymon/endpoint/base.rb', line 9 def api @api end |
#api_version_path ⇒ Object
Returns the value of attribute api_version_path.
9 10 11 |
# File 'lib/cymon/endpoint/base.rb', line 9 def api_version_path @api_version_path end |
#client ⇒ Object
Returns the value of attribute client.
8 9 10 |
# File 'lib/cymon/endpoint/base.rb', line 8 def client @client end |