Exception: Yt::Errors::Forbidden

Inherits:
RequestError show all
Defined in:
lib/yt/errors/forbidden.rb

Instance Method Summary collapse

Methods inherited from RequestError

#description, #initialize, #kind, #message, #reasons, #response_body

Constructor Details

This class inherits a constructor from Yt::Errors::RequestError

Instance Method Details

#explanationObject



6
7
8
# File 'lib/yt/errors/forbidden.rb', line 6

def explanation
  'A request to YouTube API was considered forbidden by the server'
end