class

TandaCLI::Configuration::Serialisable

Inherits JSON::Serializable < Reference < Object

Constructors

new(clockin_photo_path : String | Nil = nil, production : Environment::Production = Environment::Production.new, staging : Environment::Staging = Environment::Staging.new, custom : Environment::Custom | Nil = nil, current_environment : Environment::Name = Environment::Name::Production, start_of_week : Time::DayOfWeek = Time::DayOfWeek::Monday, treat_paid_breaks_as_unpaid : Bool = false)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clockin_photo_path
Source
clockin_photo_path=(clockin_photo_path : String | Nil)
Source
current
Source
pretty_start_of_week
Source
reset_current_environment!
Source
start_of_week
Source
start_of_week=(start_of_week : Time::DayOfWeek)
Source
treat_paid_breaks_as_unpaid=(treat_paid_breaks_as_unpaid : Bool)
Source
treat_paid_breaks_as_unpaid?
Source
use_custom!(url : URI) : Nil
Source
use_production!
Source
use_staging!
Source

Nested types