File

src/app/modules/public/module/offline/services/system-info/system-info.service.ts

Index

Properties
Methods

Constructor

constructor(publicDataService: PublicDataService, configService: ConfigService)
Parameters :
Name Type Optional
publicDataService PublicDataService No
configService ConfigService No

Methods

getSystemInfo
getSystemInfo()
Returns : any

Properties

Public configService
Type : ConfigService
Public publicDataService
Type : PublicDataService
import { Injectable } from '@angular/core';
import { PublicDataService } from '../../../../../core/services/public-data/public-data.service';
import { ConfigService } from '../../../../../shared/services/config/config.service';

@Injectable({
  providedIn: 'root'
})
export class SystemInfoService {

  constructor(public publicDataService: PublicDataService, public configService: ConfigService) { }

  getSystemInfo() {
    const option = {
      url: this.configService.urlConFig.URLS.OFFLINE.SYSTEM_INFO
    };
    return this.publicDataService.get(option);
  }
}

results matching ""

    No results matching ""