Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseAction

Basic structure and methods for all Actions Every action implementation derives from this class, should not be called directly

Hierarchy

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

json

  • get json(): Types.BttPayload
  • Returns JSON structure for the current action. Must be overriden by instances

    Returns Types.BttPayload

url

  • get url(): string
  • Returns the url of the given action, that this library generates Visiting the returned value in browser (or calling it from backend) will invoke this particular action on the mac specified in initial configuration

    Returns string

Methods

invoke