class N2y::User

Included Modules

Defined in:

n2y/user.cr

Constant Summary

HABITAT_SETTINGS = [{decl: storage_path : String, example: nil, validation: nil}] of Nil
Log = ::Log.for(self)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(mail : String) #

[View source]

Class Method Detail

def self.all #

[View source]
def self.configure(&) #

[View source]
def self.get(mail : String) #

[View source]
def self.load_from_disk #

[View source]
def self.save_to_disk #

[View source]
def self.settings #

[View source]

Instance Method Detail

def account_mapping #

[View source]
def account_mapping=(account_mapping : Hash(String, String)) #

[View source]
def exists? #

[View source]
def id_seed : String #

[View source]
def id_seed=(id_seed : String) #

[View source]
def last_sync_time : Time #

[View source]
def last_sync_time=(last_sync_time : Time) #

[View source]
def login_time : Time #

[View source]
def login_time=(login_time : Time) #

[View source]
def mail : String #

[View source]
def mapping : Hash(String, {id: String, budget_id: String}) #

[View source]
def mapping=(mapping : Hash(String, NamedTuple(id: String, budget_id: String))) #

[View source]
def nordigen_requisition_id : String | Nil #

[View source]
def nordigen_requisition_id=(nordigen_requisition_id : String | Nil) #

[View source]
def path #

[View source]
def save #

[View source]
def settings #

[View source]
def sync_interval : Int32 #

[View source]
def sync_interval=(sync_interval : Int32) #

[View source]
def tos_accepted_time : Time | Nil #

[View source]
def tos_accepted_time=(tos_accepted_time : Time | Nil) #

[View source]
def ynab_refresh_token : String | Nil #

[View source]
def ynab_refresh_token=(ynab_refresh_token : String | Nil) #

[View source]
def ynab_token_pair #

[View source]