examples/config.ru in reshape-0.1.1 vs examples/config.ru in reshape-0.2
- old
+ new
@@ -17,19 +17,14 @@
end
get '/auth/:provider/callback' do
auth = request.env['omniauth.auth']
- puts '::::'
- puts auth.credentials.token
- puts auth.credentials.secret
-
client = Reshape::Client.new({
consumer_token: ENV['SHAPEWAYS_CONSUMER_KEY'],
consumer_secret: ENV['SHAPEWAYS_CONSUMER_SECRET'],
oauth_token: auth.credentials.token,
- oauth_secret: auth.credentials.secret,
- proxy: 'http://localhost:8888'
+ oauth_secret: auth.credentials.secret
})
materials = client.materials
erb "<h1>#{params[:provider]}</h1>
\ No newline at end of file