lib/liftapp-client.rb in liftapp-client-0.0.1 vs lib/liftapp-client.rb in liftapp-client-0.0.2

- old
+ new

@@ -16,23 +16,20 @@ @auth_options = {basic_auth: {username: @email, password: @password}} end end def login - response = HTTParty.get('https://lift.do/i/0/users/current', @auth_options) + response = HTTParty.get('https://www.lift.do/i/0/users/current', @auth_options) @profile_hash = response['profile_hash'] response end def dashboard - HTTParty.get('https://lift.do/api/v2/dashboard', @auth_options) + HTTParty.get('https://www.lift.do/api/v2/dashboard', @auth_options) end def habit_activity(habit_id) HTTParty.get('https://www.lift.do/api/v2/habits/' + habit_id + '/activity', @auth_options) - end - - def checkin(habit) end def checkin_data(habit_id) response = HTTParty.get('https://www.lift.do/users/' + @profile_hash + '/' + habit_id)