Exception: Picturelife::NotAuthenticatedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/picturelife/error.rb

Instance Method Summary collapse

Constructor Details

#initializeNotAuthenticatedError

Returns a new instance of NotAuthenticatedError.



16
17
18
19
20
21
22
23
# File 'lib/picturelife/error.rb', line 16

def initialize
  super <<-MSG.gsub(/^ {6}/, '')

    Send your User to `Picturelife.authorization_uri` and catch
    the access token from your `Picturelife.redirect_uri` like so:
      Picturelife.access_token(params[:code])
  MSG
end