lib/canvas/embed.rb in canvas-embed-0.1.5 vs lib/canvas/embed.rb in canvas-embed-0.1.6
- old
+ new
@@ -6,10 +6,10 @@
require 'base64'
module Canvas
class InvalidScopeError < StandardError
end
- module Embeds
+ module Embed
module_function
# Public: Generate a token granting access to a scoped set of your data in Canvas
#
# private_key - String, signing key obtained from Canvas
# scopes - Hash, containing the scopes to grant for this token