Members
(constant) Adaptor
Network adaptor for CheaprEats GraphQL Author: Jun Zheng License: UNLICENSED
(constant) HttpLink
Controller for all Twilio related endpoints Author: Jun Zheng License: UNLICENSED
- Source:
(constant) Link
Class representing a network link that has request/response structure Author: Jun Zheng License: UNLICENSED
(constant) Model
A base class defines a basic user Author: Jun Zheng License: UNLICENSED
- Source:
(constant) Observer
Observer for models Author: Jun Zheng License: UNLICENSED
- Source:
(constant) SynchronousLink
Class representing a simple GraphQL server link Author: Jun Zheng License: MIT
(constant) SynchronousLink
Class representing a simple HTTP server link Author: Jun Zheng License: UNLICENSED
- Source:
(constant) User
Customer class Author: Jun Zheng License: UNLICENSED
- Source:
Methods
formatPrice(price, showZero) → {string}
Takes in a number and formats it with consistent price formatting.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
price |
number
|
|
showZero |
boolean
|
Returns:
- Type:
-
string