Sha256: cecab7211df303657feff0a41a629555507fef5411366035c019f8292383826e

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

module NewRelic
  module RestApi
    class ApplicationMetricData < NewRelic::RestApi::Resource
      attribute :name, Array
      attribute :timeslices, Array

      def self.requested_path(options = {})
        "applications/#{options.fetch(:application_id)}/metrics/data"
      end

      def self.resource_name
        ['metric_data', 'metrics']
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
new_relic-rest_api-0.1.0 lib/new_relic/rest_api/application_metric_data.rb