Module: Abt::Providers::Asana

Defined in:
lib/abt/providers/asana.rb,
lib/abt/providers/asana/api.rb,
lib/abt/providers/asana/path.rb,
lib/abt/providers/asana/base_command.rb,
lib/abt/providers/asana/commands/add.rb,
lib/abt/providers/asana/commands/pick.rb,
lib/abt/providers/asana/configuration.rb,
lib/abt/providers/asana/commands/clear.rb,
lib/abt/providers/asana/commands/share.rb,
lib/abt/providers/asana/commands/start.rb,
lib/abt/providers/asana/commands/tasks.rb,
lib/abt/providers/asana/commands/current.rb,
lib/abt/providers/asana/commands/finalize.rb,
lib/abt/providers/asana/commands/projects.rb,
lib/abt/providers/asana/commands/branch_name.rb,
lib/abt/providers/asana/services/task_picker.rb,
lib/abt/providers/asana/commands/write_config.rb,
lib/abt/providers/asana/services/project_picker.rb,
lib/abt/providers/asana/commands/harvest_time_entry_data.rb

Defined Under Namespace

Modules: Commands, Services Classes: Api, BaseCommand, Configuration, Path

Class Method Summary collapse

Class Method Details

.command_class(name) ⇒ Object



14
15
16
17
# File 'lib/abt/providers/asana.rb', line 14

def self.command_class(name)
  const_name = Helpers.command_to_const(name)
  Commands.const_get(const_name) if Commands.const_defined?(const_name)
end

.command_namesObject



10
11
12
# File 'lib/abt/providers/asana.rb', line 10

def self.command_names
  Commands.constants.sort.map { |constant_name| Helpers.const_to_command(constant_name) }
end