class Todoist::Config

Constants

TODOIST_API_URL
TODOIST_SYNC_COMMAND

Public Class Methods

delay_between_requests() click to toggle source
# File lib/todoist/config.rb, line 49
def self.delay_between_requests
  @@delay_between_requests
end
delay_between_requests=(delay_between_requests) click to toggle source
# File lib/todoist/config.rb, line 45
def self.delay_between_requests=(delay_between_requests)
  @@delay_between_requests = delay_between_requests
end
getURI() click to toggle source
# File lib/todoist/config.rb, line 53
def self.getURI
  if @@uri == nil
    @@uri = {}
    @@command_list.each do |command|
      @@uri[command] =  URI.parse(TODOIST_API_URL + command)
    end
  end
  return @@uri
end
retry_time() click to toggle source
# File lib/todoist/config.rb, line 41
def self.retry_time
  @@retry_time
end
retry_time=(retry_time) click to toggle source
# File lib/todoist/config.rb, line 37
def self.retry_time=(retry_time)
  @@retry_time = retry_time
end