Class: TrelloBackupRenderer::Models::Attachment

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) ⇒ Attachment

Returns a new instance of Attachment.



54
55
56
# File 'lib/trello_backup_renderer/models.rb', line 54

def initialize(args)
  @path = args[:path]
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



52
53
54
# File 'lib/trello_backup_renderer/models.rb', line 52

def path
  @path
end