Class: Settings

Models.Settings

new Settings()

Application settings for the FedRAMP dashboard.
Source:

Members

(static) self.lastRefresh :string

The last refresh date
Type:
  • string
Source:

Methods

(static) self.clearRefresh()

Clears last refresh
Source:

(static) self.hash()

Hard-coded hash used since only a single instance will be stored
Source:
Returns:
hash for settings

(static) self.needsRefresh()

Determine if the data requires a refresh.
Source:
Returns:
A boolean value

(static) self.refresh()

Refreshes the date to current date
Source:
Returns:
The last refresh date