class Yt::Collections::Revocations

Attributes

auth_params[RW]

Private Instance Methods

attributes_for_new_item(data) click to toggle source

This overrides the parent mehthod defined in Authentications

# File lib/yt/collections/revocations.rb, line 12
def attributes_for_new_item(data)
  {data: data}
end
list_params() click to toggle source
# File lib/yt/collections/revocations.rb, line 16
def list_params
  super.tap do |params|
    params[:host] = 'accounts.google.com'
    params[:path] = '/o/oauth2/revoke'
    params[:request_format] = nil
    params[:method] = :get
    params[:auth] = nil
    params[:body] = nil
    params[:camelize_body] = false
    params[:params] = auth_params
  end
end