Search
Preparing search index...
The search index is not available
betrybe-technical-test
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
CoindeskService
Class CoindeskService
Hierarchy
CoindeskService
Index
Constructors
constructor
Properties
client
Methods
get
Current
PriceBTC
Constructors
constructor
new
Coindesk
Service
(
client
?:
AxiosInstance
)
:
CoindeskService
Parameters
Default value
client:
AxiosInstance
= axios.create({ baseURL: ENDPOINT })
Returns
CoindeskService
Properties
Private
client
client
:
AxiosInstance
Methods
get
Current
PriceBTC
get
Current
PriceBTC
(
)
:
Promise
<
GetCurrentPriceBTCResponse
>
Returns
Promise
<
GetCurrentPriceBTCResponse
>
Globals
Coindesk
Service
constructor
client
get
Current
PriceBTC
Generated using
TypeDoc