app/controllers/skydrive/application_controller.rb in lti_skydrive-0.1.1 vs app/controllers/skydrive/application_controller.rb in lti_skydrive-1.0.0

- old
+ new

@@ -34,7 +34,15 @@ else nil end @current_api_key end + + def skydrive_client + @skydrive_client ||= + Client.new(SHAREPOINT.merge( + client_domain: current_user.token.client_domain, + token: current_user.token.access_token + )) + end end end \ No newline at end of file