Class: YouTubeG::Model::Content

Inherits:
Record
  • Object
show all
Defined in:
lib/youtube_g/model/content.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YouTubeG::Record

Instance Attribute Details

#defaultObject (readonly) Also known as: is_default?

Returns the value of attribute default.



4
5
6
# File 'lib/youtube_g/model/content.rb', line 4

def default
  @default
end

#durationObject (readonly)

Returns the value of attribute duration.



5
6
7
# File 'lib/youtube_g/model/content.rb', line 5

def duration
  @duration
end

#formatObject (readonly)

Returns the value of attribute format.



6
7
8
# File 'lib/youtube_g/model/content.rb', line 6

def format
  @format
end

#mime_typeObject (readonly)

Returns the value of attribute mime_type.



7
8
9
# File 'lib/youtube_g/model/content.rb', line 7

def mime_type
  @mime_type
end

#urlObject (readonly)

Returns the value of attribute url.



8
9
10
# File 'lib/youtube_g/model/content.rb', line 8

def url
  @url
end