class TandaCLI::Configuration

Defined in:

tanda_cli/configuration.cr
tanda_cli/configuration/abstract_file.cr
tanda_cli/configuration/file.cr
tanda_cli/configuration/serialisable.cr
tanda_cli/configuration/serialisable/access_token.cr
tanda_cli/configuration/serialisable/environment.cr
tanda_cli/configuration/serialisable/environment/custom.cr
tanda_cli/configuration/serialisable/environment/production.cr
tanda_cli/configuration/serialisable/environment/staging.cr
tanda_cli/configuration/serialisable/organisation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.init(file : Configuration::AbstractFile, display : Display) : Configuration #

[View source]
def self.new(file : Configuration::AbstractFile, serialisable : TandaCLI::Configuration::Serialisable = Serialisable.new) #

[View source]

Instance Method Detail

def access_token(*args, **options) #

[View source]
def access_token(*args, **options, &) #

[View source]
def api_url : String #

[View source]
def clockin_photo_path(*args, **options) #

[View source]
def clockin_photo_path(*args, **options, &) #

[View source]
def clockin_photo_path=(arg) #

[View source]
def current(*args, **options) #

[View source]
def current(*args, **options, &) #

[View source]
def current_organisation!(*args, **options) #

[View source]
def current_organisation!(*args, **options, &) #

[View source]
def current_organisation?(*args, **options) #

[View source]
def current_organisation?(*args, **options, &) #

[View source]
def organisations(*args, **options) #

[View source]
def organisations(*args, **options, &) #

[View source]
def organisations=(arg) #

[View source]
def overwrite_access_token!(email : String, access_token : API::Types::AccessToken) : Nil #

[View source]
def pretty_start_of_week(*args, **options) #

[View source]
def pretty_start_of_week(*args, **options, &) #

[View source]
def reset_current_environment!(*args, **options) #

[View source]
def reset_current_environment!(*args, **options, &) #

[View source]
def save! #

[View source]
def start_of_week(*args, **options) #

[View source]
def start_of_week(*args, **options, &) #

[View source]
def start_of_week=(arg) #

[View source]
def treat_paid_breaks_as_unpaid?(*args, **options) #

[View source]
def treat_paid_breaks_as_unpaid?(*args, **options, &) #

[View source]
def use_custom!(*args, **options) #

[View source]
def use_custom!(*args, **options, &) #

[View source]
def use_production!(*args, **options) #

[View source]
def use_production!(*args, **options, &) #

[View source]
def use_staging!(*args, **options) #

[View source]
def use_staging!(*args, **options, &) #

[View source]