Class: TrelloBackupRenderer::Models::Comment

Inherits:
Object
  • Object
show all
Defined in:
lib/trello_backup_renderer/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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

#dateObject (readonly)

Returns the value of attribute date.



71
72
73
# File 'lib/trello_backup_renderer/models.rb', line 71

def date
  @date
end

#id_cardObject (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

#textObject (readonly)

Returns the value of attribute text.



73
74
75
# File 'lib/trello_backup_renderer/models.rb', line 73

def text
  @text
end