Class: Tubeclip::Model::Playlist
- Defined in:
- lib/tubeclip/model/playlist.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#playlist_id ⇒ Object
readonly
Returns the value of attribute playlist_id.
-
#published ⇒ Object
readonly
Returns the value of attribute published.
-
#response_code ⇒ Object
readonly
Returns the value of attribute response_code.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#videos_count ⇒ Object
readonly
Returns the value of attribute videos_count.
-
#xml ⇒ Object
readonly
Returns the value of attribute xml.
Instance Method Summary collapse
Methods inherited from Record
Constructor Details
This class inherits a constructor from Tubeclip::Record
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def @author end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def description @description end |
#playlist_id ⇒ Object (readonly)
Returns the value of attribute playlist_id.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def playlist_id @playlist_id end |
#published ⇒ Object (readonly)
Returns the value of attribute published.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def published @published end |
#response_code ⇒ Object (readonly)
Returns the value of attribute response_code.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def response_code @response_code end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def summary @summary end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def title @title end |
#videos_count ⇒ Object (readonly)
Returns the value of attribute videos_count.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def videos_count @videos_count end |
#xml ⇒ Object (readonly)
Returns the value of attribute xml.
4 5 6 |
# File 'lib/tubeclip/model/playlist.rb', line 4 def xml @xml end |
Instance Method Details
#videos ⇒ Object
5 6 7 |
# File 'lib/tubeclip/model/playlist.rb', line 5 def videos Tubeclip::Parser::VideosFeedParser.new(@xml).parse_videos end |