Sha256: 2e3a66c894c773a1108c8733753d8ad0eb6050bf63a231c8b8336b7da0d92b6d

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

require "bundler/gem_tasks"
require 'rake/testtask'
require_relative 'lib/pokemon_tcg_sdk'

task :default => :test

Rake::TestTask.new do |t|
  t.libs << "lib"
  t.libs << "test"
  t.test_files = FileList['test/*_test.rb']
  t.verbose = true
end

Pokemon.configure do |config|
  config.api_key = ENV['POKEMON_API_KEY']
end

task :card do
  card = Pokemon::Card.find('base2-17')
  puts card.tcgplayer.prices.first_edition.market
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-4.5.0 Rakefile