Class: Tubeclip::Model::Message

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from Tubeclip::Record

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#publishedObject (readonly)

Returns the value of attribute published.



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

def published
  @published
end

#summaryObject (readonly)

Returns the value of attribute summary.



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

def summary
  @summary
end

#titleObject (readonly)

Returns the value of attribute title.



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

def title
  @title
end

Instance Method Details

#contentObject



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

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