Class: Metrics

Metrics()

A single result from the DataONE Metrics Service

Constructor

new Metrics()

Source:

Extends

  • Backbone.Model

Members

type :string

The name of this Model
Type:
  • string
Source:

Methods

fetch()

Overriding the Model's fetch function.
Source:

getCurrentDate() → {string}

Get's a string version of today's date
Source:
Returns:
Type
string

initialize(options)

Initializing the Model objects pid and the metricName variables.
Parameters:
Name Type Description
options object
Source:

parse()

Parsing the response for setting the Model's member variables.
Source: