Class: Cloudwatch::Sender::Fetcher::Base
- Inherits:
-
Object
- Object
- Cloudwatch::Sender::Fetcher::Base
- Defined in:
- lib/cloudwatch/sender/fetcher/base.rb
Instance Method Summary collapse
-
#initialize(components, namespace) ⇒ Base
constructor
A new instance of Base.
- #retrieve(component_meta) ⇒ Object
Constructor Details
#initialize(components, namespace) ⇒ Base
Returns a new instance of Base.
5 6 7 8 |
# File 'lib/cloudwatch/sender/fetcher/base.rb', line 5 def initialize(components, namespace) @components = components @namespace = namespace end |
Instance Method Details
#retrieve(component_meta) ⇒ Object
10 11 12 13 14 |
# File 'lib/cloudwatch/sender/fetcher/base.rb', line 10 def retrieve() ["metrics"].each do |metric| metric_type(, metric) end end |