examples/csv_export/app.rb in liftapp-client-0.0.4 vs examples/csv_export/app.rb in liftapp-client-0.0.5
- old
+ new
@@ -10,10 +10,10 @@
get '/' do
haml :index
end
post '/dashboard.json' do
- client = Liftapp::Client.new(email: params[:email], password: params[:password])
+ client = Liftapp::Client.new(params[:email], params[:password])
content_type :json
client.dashboard.to_json
end
get '/checkins/:user/:habit' do