Files @ b7597f97d4f9
Branch filter:

Location: rattail-project/corepos-demo-poser/office_plugins/PoserDemo/PoserDemo.php - annotation

lance
Ignore the GitStatus plugin, if present

let it exist but do not require it
<?php

class PoserDemo extends COREPOS\Fannie\API\FanniePlugin
{
    public $plugin_description = 'Plugin to demo Poser customization';

    public $plugin_settings = [

        'PoserDemoTailboneAPIURL' => [
            'label' => 'Tailbone API URL',
            'description' => 'Base URL for Tailbone API (usually ends with /api)',
        ],

        'PoserDemoTailboneAPIToken' => [
            'label' => 'Tailbone API Token',
            'description' => 'User auth token for use with Tailbone API',
        ],

        'PoserDemoTailboneAPIVerifySSL' => [
            'label' => 'Verify SSL',
            'description' => 'Validate SSL cert used by Tailbone API?',
            'options' => [
                "Yes, validate the SSL cert" => 'true',
                "No, do not validate the SSL cert (SHOULD ONLY BE USED FOR TESTING!)" => 'false',
            ],
            'default'=>'true',
        ],
    ];
}