class CloudWatchMetrics::Dimensions

Public Class Methods

new(hash) click to toggle source
Calls superclass method
# File lib/cloud_watch_metrics/dimensions.rb, line 5
def initialize(hash)
  super()
  replace(hash)
end

Public Instance Methods

to_cloudwatch() click to toggle source
# File lib/cloud_watch_metrics/dimensions.rb, line 10
def to_cloudwatch
  map { |name, value| { name: name, value: value } }
end