Class: GalleryGenerator::ViewablePhoto

Inherits:
Object
  • Object
show all
Defined in:
lib/m1key_gallery_generator/viewable_photo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, title, description, metadata, technical_info) ⇒ ViewablePhoto

Returns a new instance of ViewablePhoto.



4
5
6
7
8
9
10
# File 'lib/m1key_gallery_generator/viewable_photo.rb', line 4

def initialize(id, title, description, , technical_info)
  @id = id
  @title = title
  @description = description
   = 
  @technical_info = technical_info
end

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description.



3
4
5
# File 'lib/m1key_gallery_generator/viewable_photo.rb', line 3

def description
  @description
end

#idObject (readonly)

Returns the value of attribute id.



3
4
5
# File 'lib/m1key_gallery_generator/viewable_photo.rb', line 3

def id
  @id
end

#metadataObject (readonly)

Returns the value of attribute metadata.



3
4
5
# File 'lib/m1key_gallery_generator/viewable_photo.rb', line 3

def 
  
end

#technical_infoObject (readonly)

Returns the value of attribute technical_info.



3
4
5
# File 'lib/m1key_gallery_generator/viewable_photo.rb', line 3

def technical_info
  @technical_info
end

#titleObject (readonly)

Returns the value of attribute title.



3
4
5
# File 'lib/m1key_gallery_generator/viewable_photo.rb', line 3

def title
  @title
end