lib/you_tube/resources/channels.rb
# Retrieve the channel of the currently authenticated user
Retrieve the channel of the currently authenticated user
Retrieve the channel of the currently authenticated user
def mine
      response = get_request "channels", params: {mine: true, part: PARTS}
      return nil if response.body["pageInfo"]["totalResults"] == 0
      Channel.new(response.body["items"][0])
    end
def mine response = get_request "channels" , params : { mine : true , part : PARTS } return nil if response . body [ "pageInfo" ] [ "totalResults" ] == 0 Channel . new ( response . body [ "items" ] [ 0 ] ) end
Retrieve the channel of the currently authenticated user
Retrieve the channel of the currently authenticated user