Sha256: e03251bdc594ee722a8513a9d799f094ff245770a2933befdc0d95e61809ce7f

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

Stored size: 242 Bytes

Contents

#!/usr/bin/env ruby

require 'pricesphere'

API_KEY = 'Your API Key'


pricesphere = Pricesphere::Watch.new(API_KEY)

pricesphere_product_id = 1
pricesphere.register(pricesphere_product_id, 'http://www.example.com/callback_url', {my_id: 10})

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pricesphere-0.2.3 examples/create_watch.rb
pricesphere-0.2.2 examples/create_watch.rb
pricesphere-0.2.1 examples/create_watch.rb
pricesphere-0.2.0 examples/create_watch.rb