Sha256: b533ecfdf978f2b8262fb712c7543c58d994f550e1636b8474fc0283a665c848

Contents?: true

Size: 592 Bytes

Versions: 217

Compression:

Stored size: 592 Bytes

Contents

# frozen_string_literal: true

desc 'Load up checkoff in pry'
task :console do |_t|
  puts 'Example:'
  puts
  puts '# https://www.rubydoc.info/github/Asana/ruby-asana/master'
  puts '> client = Checkoff::Clients.new.client'
  puts '# https://developers.asana.com/docs/input-output-options'
  puts '> workspace_gid = ENV.fetch("ASANA__DEFAULT_WORKSPACE_GID")'
  puts "> task = client.tasks.find_by_id('1199961990964812', options: { fields: ['dependencies'] })"
  puts '# Asana.md#ruby-asana / API shows how to manually call endpoints with a client'
  puts
  exec 'pry -I lib -r checkoff'
end

Version data entries

217 entries across 217 versions & 1 rubygems

Version Path
checkoff-0.223.0 rakelib/console.rake
checkoff-0.222.0 rakelib/console.rake
checkoff-0.221.0 rakelib/console.rake
checkoff-0.220.0 rakelib/console.rake
checkoff-0.219.0 rakelib/console.rake
checkoff-0.218.0 rakelib/console.rake
checkoff-0.217.0 rakelib/console.rake
checkoff-0.216.0 rakelib/console.rake
checkoff-0.215.0 rakelib/console.rake
checkoff-0.214.0 rakelib/console.rake
checkoff-0.213.0 rakelib/console.rake
checkoff-0.212.0 rakelib/console.rake
checkoff-0.211.0 rakelib/console.rake
checkoff-0.210.0 rakelib/console.rake
checkoff-0.209.0 rakelib/console.rake
checkoff-0.208.0 rakelib/console.rake
checkoff-0.207.0 rakelib/console.rake
checkoff-0.206.0 rakelib/console.rake
checkoff-0.205.0 rakelib/console.rake
checkoff-0.204.0 rakelib/console.rake