Sha256: 4e3657c8ba4690f4e2d6dd404e507758d9768ae8ad8863cc24c9683091a3df94
Contents?: true
Size: 434 Bytes
Versions: 4
Compression:
Stored size: 434 Bytes
Contents
module CanvasOauth class CanvasApiExtensions def self.build(canvas_url, user_id, tool_consumer_instance_guid) refresh_token = CanvasOauth::Authorization.fetch_refresh_token(user_id, tool_consumer_instance_guid) token = CanvasOauth::Authorization.fetch_token(user_id, tool_consumer_instance_guid) CanvasApi.new(canvas_url, user_id, token, refresh_token, CanvasConfig.key, CanvasConfig.secret) end end end
Version data entries
4 entries across 4 versions & 1 rubygems