Class: YouTubeIt::Model::Message

Inherits:
Record
  • Object
show all
Defined in:
lib/youtube_it/model/message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YouTubeIt::Record

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



4
5
6
# File 'lib/youtube_it/model/message.rb', line 4

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/youtube_it/model/message.rb', line 4

def name
  @name
end

#publishedObject (readonly)

Returns the value of attribute published.



4
5
6
# File 'lib/youtube_it/model/message.rb', line 4

def published
  @published
end

#summaryObject (readonly)

Returns the value of attribute summary.



4
5
6
# File 'lib/youtube_it/model/message.rb', line 4

def summary
  @summary
end

#titleObject (readonly)

Returns the value of attribute title.



4
5
6
# File 'lib/youtube_it/model/message.rb', line 4

def title
  @title
end

Instance Method Details

#contentObject



6
7
8
9
# File 'lib/youtube_it/model/message.rb', line 6

def content
  # This tag contains the same value as the <summary> tag.
  self.summary
end