yajsapi - Java Script high-level API
Yagna Contributor Guide

Class: Configuration

yajsapi / Exports / rest/configuration / Configuration

Class: Configuration

rest/configuration.Configuration

Hierarchy

  • Configuration

Table of contents

Constructors

Properties

Methods

Constructors

constructor

  • new Configuration(app_key?: null, url?: string, market_url?: string, payment_url?: string, activity_url?: string): Configuration

Parameters:

Name

Type

Default value

app_key

null

null

url?

string

-

market_url?

string

-

payment_url?

string

-

activity_url?

string

-

Returns: Configuration

Defined in: yajsapi/rest/configuration.ts:26

Properties

__activity_url

Private __activity_url: string

Defined in: yajsapi/rest/configuration.ts:25

__app_key

Private __app_key: null | string

Defined in: yajsapi/rest/configuration.ts:21

__axios_opts

Private __axios_opts: object

Defined in: yajsapi/rest/configuration.ts:26

__market_url

Private __market_url: string

Defined in: yajsapi/rest/configuration.ts:23

__payment_url

Private __payment_url: string

Defined in: yajsapi/rest/configuration.ts:24

__url

Private __url: any

Defined in: yajsapi/rest/configuration.ts:22

Methods

activity

activity(): Configuration

Returns: Configuration

Defined in: yajsapi/rest/configuration.ts:111

activity_url

activity_url(): string

Returns: string

Defined in: yajsapi/rest/configuration.ts:87

app_key

app_key(): null | string

Returns: null | string

Defined in: yajsapi/rest/configuration.ts:75

market

market(): Configuration

Returns: Configuration

Defined in: yajsapi/rest/configuration.ts:91

market_url

market_url(): null | string

Returns: null | string

Defined in: yajsapi/rest/configuration.ts:79

payment

payment(): Configuration

Returns: Configuration

Defined in: yajsapi/rest/configuration.ts:101

payment_url

payment_url(): string

Returns: string

Defined in: yajsapi/rest/configuration.ts:83