Skip to content

Update foaas.rb to use /operations #91

@twilight-sparkle-irl

Description

@twilight-sparkle-irl

Currently, the bot uses a static list of operations.
However, the API recently started providing an endpoint at /operations that allows you to programmatically get the ways of telling someone to fuck off that are supported.
As well, some methods are not known by the module, which means it won't use them, sadly.
I suggest we get https://foaas.com/operations (https for security) on start up, and read the operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions