API Docs for:
Show:

models.client.Base.NotFound Class

Defined in: bundle.js:3602
Module: filesize

Not found error class for 404 api errors

Constructor

models.client.Base.NotFound

(
  • message
  • url
  • xhr
)

Defined in bundle.js:3602

Parameters:

  • message String
  • url String
  • xhr Object

    The ajax request

Item Index

Methods

clearTestDatabase

() Bluebird.Promise static

Ensure empty database for testing

Returns:

deleteAndReset

(
  • tables
)
private static

Delete all rows from given tables in series.

The rows must have an id sequence which will be restarted

Parameters:

  • tables Array

    Tables names

fetch

() Bluebird.Promise

Fetch model state from the server http://backbonejs.org/#Model-fetch

Returns:

isImage

() Boolean

Return true if the attachment is an image which can be displayed in a tag

Returns:

Boolean:

toURL

() String

Return url to this attachment

Returns:

String: