TandaCLI::Configuration::Serialisable
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(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)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clockin_photo_path
Sourcecurrent
Sourcepretty_start_of_week
Sourcereset_current_environment!
Sourcestart_of_week
Sourcestart_of_week=(start_of_week : Time::DayOfWeek)
Sourcetreat_paid_breaks_as_unpaid?
Sourceuse_production!
Sourceuse_staging!
Source