DS.JSONAPISerializer#_extractType()

_extractType (modelClass, resourceHash) Stringprivate Defined in addon/serializers/json-api.js:323 Parameters: modelClass DS.Model resourceHash Object Returns: String

Enumerable#addEnumerableObserver()

addEnumerableObserver (target, opts) private Defined in packages/ember-runtime/lib/mixins/enumerable.js:869 Registers an enumerable observer. Must implement Ember.EnumerableObserver mixin. Parameters: target Object opts [Object] Returns: this

Defining Models

Defining Models A model is a class that defines the properties and behavior of the data that you present to the user. Anything that the user expects to see if they leave your app and come back later (or if they refresh the page) should be represented by a model. When you want a new model for your application you need to create a new file under the models folder and extend from DS.Model. This is more conveniently done by using one of Ember CLI's generator commands. For instance, let's create a

Route#didTransition event

didTransitionpublic Defined in packages/ember-routing/lib/system/route.js:588 Available since 1.2.0 The didTransition action is fired after a transition has successfully been completed. This occurs after the normal model hooks (beforeModel, model, afterModel, setupController) have resolved. The didTransition action has no arguments, however, it can be useful for tracking page views or resetting state on the controller. App.LoginRoute = Ember.Route.extend({ actions: { didTransition: fu

Enumerable#setEach()

setEach (key, value) Objectpublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:310 Sets the value on the named property for each member. This is more ergonomic than using other methods defined on this helper. If the object implements Ember.Observable, the value will be changed to set(), otherwise it will be set directly. null objects are skipped. Parameters: key String The key to set value Object The object to set Returns: Object receiver

DS.Store#recordWasError()

recordWasError (internalModel, error) private Defined in addon/-private/system/store.js:1785 This method is called once the promise returned by an adapter's createRecord, updateRecord or deleteRecord is rejected (with anything other than a DS.InvalidError). Parameters: internalModel InternalModel error Error

DS.UnauthorizedError

DS.UnauthorizedError Class Defined in: addon/adapters/errors.js:133 Module: ember-data

Registry#_normalizeCache

_normalizeCacheInheritingDictprivate Defined in packages/container/lib/registry.js:107

Location#getHash()

getHashprivate Defined in packages/ember-routing/lib/location/api.js:181 Available since 1.4.0 Returns the current location.hash by parsing location.href since browsers inconsistently URL-decode location.hash. https://bugzilla.mozilla.org/show_bug.cgi?id=483304

Enumerable#firstObject

firstObjectObjectpublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:140 Helper method returns the first object from a collection. This is usually used by bindings and other parts of the framework to extract a single object if the enumerable contains only one item. If you override this method, you should implement it so that it will always return the same value each time it is called. If your enumerable contains only one object, this method should always return that object. If