Sha256: b21eca46ed817219a98c63ee2508722e681fc66fed050e7fc731b5582e59b2fb
Contents?: true
Size: 337 Bytes
Versions: 5
Compression:
Stored size: 337 Bytes
Contents
module HabiticaCli # Responsible for listing tasks module Commands def self.list(env, type = nil) validate_type(type) if type response = env.api.get('tasks/user') if response.success? display(env, response.body, type) else puts 'Error connecting to habit api' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems