Completed weather and local time plugin

This commit is contained in:
JayWll
2020-05-16 14:49:59 -06:00
parent 8aeceee0eb
commit 48a9226a81
8 changed files with 68 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
<?php namespace JasonWilliams\CalgaryConditions\Models;
use Model;
class Settings extends Model
{
public $implement = ['System.Behaviors.SettingsModel'];
// A unique code
public $settingsCode = 'jasonwilliams_calgaryconditions_settings';
// Reference to field configuration
public $settingsFields = 'fields.yaml';
}

View File

@@ -0,0 +1,4 @@
fields:
weatherstack_api_key:
label: Weatherstack API key
description: Your API key, obtained from weaterstack.com