Module: Restforce::Concerns::Canvas

Included in:
Data::Client
Defined in:
lib/restforce/concerns/canvas.rb

Instance Method Summary collapse

Instance Method Details

#decode_signed_request(signed_request) ⇒ Object



6
7
8
9
10
# File 'lib/restforce/concerns/canvas.rb', line 6

def decode_signed_request(signed_request)
  raise 'client_secret not set.' unless options[:client_secret]

  SignedRequest.decode(signed_request, options[:client_secret])
end