Exception: Picturelife::NotAuthenticatedError
- Inherits:
-
StandardError
- Object
- StandardError
- Picturelife::NotAuthenticatedError
- Defined in:
- lib/picturelife/error.rb
Instance Method Summary collapse
-
#initialize ⇒ NotAuthenticatedError
constructor
A new instance of NotAuthenticatedError.
Constructor Details
#initialize ⇒ NotAuthenticatedError
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 |