Sha256: 2d96ad70f69719afab4c3a8136748462a0f4b5629343da9a5401db7fa0a6c182

Contents?: true

Size: 565 Bytes

Versions: 5

Compression:

Stored size: 565 Bytes

Contents

require "bundler/gem_tasks"
require "tumbz"

task :demo do
  Tumbz.configure do |config|
    config.api_key = "nzaEhGbo4B9yAOn1GKveoSL003sexY9F"
  end

  p Tumbz::User.find("remi")
  #p Tumbz::User.get(:search, :q => "bass")
  #p Tumbz::Product.get(:search, :q => "office", :cat => "tv")
end

task :oauth do
  Tumbz.configure do |config|
    config.api_key = "nzaEhGbo4B9yAOn1GKveoSL003sexY9F"
  end

  #p Tumbz::User.sign_in!("", "",)
  #p Tumbz::User.sign_out!
  #p Tumbz::Review.create(:product_external_id => "tt0458339", :positive => "1", :cat => "movie")
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tumbz-0.0.5 Rakefile
tumbz-0.0.4 Rakefile
tumbz-0.0.3 Rakefile
tumbz-0.0.2 Rakefile
tumbz-0.0.1 Rakefile