Class: TrelloBackupRenderer::Models::Comment
- Inherits:
-
Object
- Object
- TrelloBackupRenderer::Models::Comment
- Defined in:
- lib/trello_backup_renderer/models.rb
Instance Attribute Summary collapse
-
#creator_full_name ⇒ Object
readonly
Returns the value of attribute creator_full_name.
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#id_card ⇒ Object
readonly
Returns the value of attribute id_card.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(args) ⇒ Comment
constructor
A new instance of Comment.
Constructor Details
#initialize(args) ⇒ Comment
Returns a new instance of Comment.
75 76 77 78 79 80 |
# File 'lib/trello_backup_renderer/models.rb', line 75 def initialize(args) @creator_full_name = args[:creator_full_name] @date = args[:date] @id_card = args[:id_card] @text = args[:text] end |
Instance Attribute Details
#creator_full_name ⇒ Object (readonly)
Returns the value of attribute creator_full_name.
70 71 72 |
# File 'lib/trello_backup_renderer/models.rb', line 70 def creator_full_name @creator_full_name end |
#date ⇒ Object (readonly)
Returns the value of attribute date.
71 72 73 |
# File 'lib/trello_backup_renderer/models.rb', line 71 def date @date end |
#id_card ⇒ Object (readonly)
Returns the value of attribute id_card.
72 73 74 |
# File 'lib/trello_backup_renderer/models.rb', line 72 def id_card @id_card end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
73 74 75 |
# File 'lib/trello_backup_renderer/models.rb', line 73 def text @text end |