Class: Judoscale::Adapter
- Inherits:
-
Struct
- Object
- Struct
- Judoscale::Adapter
- Defined in:
- lib/judoscale-ruby.rb
Instance Attribute Summary collapse
-
#adapter_info ⇒ Object
Returns the value of attribute adapter_info.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#metrics_collector ⇒ Object
Returns the value of attribute metrics_collector.
Instance Method Summary collapse
Instance Attribute Details
#adapter_info ⇒ Object
Returns the value of attribute adapter_info
23 24 25 |
# File 'lib/judoscale-ruby.rb', line 23 def adapter_info @adapter_info end |
#identifier ⇒ Object
Returns the value of attribute identifier
23 24 25 |
# File 'lib/judoscale-ruby.rb', line 23 def identifier @identifier end |
#metrics_collector ⇒ Object
Returns the value of attribute metrics_collector
23 24 25 |
# File 'lib/judoscale-ruby.rb', line 23 def metrics_collector @metrics_collector end |
Instance Method Details
#as_json ⇒ Object
24 25 26 |
# File 'lib/judoscale-ruby.rb', line 24 def as_json {identifier => adapter_info} end |