spotter v0.4.0 Spotter.Endpoint.Plain
Wrapper for a resource with the static path.
Link to this section Summary
Functions
Defines the plain endpoint with static path
Checks for all specified permissions from the first list in the second
Checks that the passed permissions can provide an access to the certain resource
Checking a match of the passed path with the endpoint path by exact string comparison
Returns a new instance of Spotter.Endpoint.Plain struct
Post-processing data before passing it further
Validate an input data
Link to this section Functions
Defines the plain endpoint with static path.
- :base.path - Path to the resource. For example,
api.matchmaking.search
. Required. - :base.permissions - List of permissions, required for getting an access to the resource. Default is
[]
.
Checks for all specified permissions from the first list in the second.
Checks that the passed permissions can provide an access to the certain resource.
Checking a match of the passed path with the endpoint path by exact string comparison.
Returns a new instance of Spotter.Endpoint.Plain struct.
Post-processing data before passing it further.
Validate an input data.