module Yt::Associations::HasAuthentication

@private Provides authentication methods to YouTube resources, which allows to access to content detail set-specific methods like `access_token`.

YouTube resources with authentication are: {Yt::Models::Account accounts}.

Public Instance Methods

has_authentication() click to toggle source
# File lib/yt/associations/has_authentication.rb, line 9
def has_authentication
  require 'yt/collections/authentications'
  require 'yt/collections/device_flows'
  require 'yt/collections/revocations'
  require 'yt/errors/missing_auth'
  require 'yt/errors/no_items'
  require 'yt/errors/unauthorized'

  include Associations::Authenticable
end