Sha256: c07e41bc4067a3b8a4257b9786638579b2467c4ea14dd57f04bfdc5a397fc959

Contents?: true

Size: 239 Bytes

Versions: 10

Compression:

Stored size: 239 Bytes

Contents

module ThreeScaleToolbox
  module CRD
    module MetricSerializer
      def to_cr
        {
          'friendlyName' => friendly_name,
          'unit' => unit,
          'description' => description,
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
3scale_toolbox-1.0.1 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-1.0.0 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-0.20.0 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-0.19.3 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-0.19.2 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-0.19.1 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-0.19.0 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-0.18.3 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-0.18.2 lib/3scale_toolbox/crds/metric_dump.rb
3scale_toolbox-0.18.0 lib/3scale_toolbox/crds/metric_dump.rb