API Docs for: 0.2.1
Show:

TransformMap Class

Module: utils
Parent Module: ember-jsonapi-resources

Abstract class to transform mapped data structures

Constructor

TransformMap

()

Item Index

Methods

constructor

(
  • [map]
)

Parameters:

  • [map] Object optional

    created with null as prototype

lookup

(
  • [value]
  • [use='keys']
)
String | Null

Parameters:

  • [value] String optional
  • [use='keys'] String optional

    keys or values

Returns:

String | Null:

[value] name or null