Class: YouTube::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/you_tube/resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Resource

Returns a new instance of Resource.



5
6
7
# File 'lib/you_tube/resource.rb', line 5

def initialize(client)
  @client = client
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



3
4
5
# File 'lib/you_tube/resource.rb', line 3

def client
  @client
end