class Sync

Defined in:

sync.cr

Constant Summary

Log = ::Log.for("sync")

Constructors

Instance Method Summary

Constructor Detail

def self.new(harvest : Harvest::Service) #

[View source]

Instance Method Detail

def cleanup(from : Time, to : Time) #

Clean out time entries deleted in Harvets


[View source]
def run(all : Bool = false) #

[View source]
def sync_entry(harvest_entry : Harvest::TimeEntry, force : Bool = false) : Entry #

[View source]
def sync_project(harvest_project : Harvest::Project) : Project #

[View source]
def sync_task(harvest_task : Harvest::Task) : Task #

[View source]
def sync_user(harvest_user = Harvest::User) : User #

[View source]