Class: Cameraplus::PhotoExif

Inherits:
Object
  • Object
show all
Defined in:
lib/cameraplus/photo_exif.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ PhotoExif

Returns a new instance of PhotoExif.



6
7
8
9
10
# File 'lib/cameraplus/photo_exif.rb', line 6

def initialize(data)
  @title = data.title
  @value = data.value
  @style = data.style
end

Instance Attribute Details

#styleObject (readonly)

Returns the value of attribute style.



4
5
6
# File 'lib/cameraplus/photo_exif.rb', line 4

def style
  @style
end

#titleObject (readonly)

Returns the value of attribute title.



4
5
6
# File 'lib/cameraplus/photo_exif.rb', line 4

def title
  @title
end

#valueObject (readonly)

Returns the value of attribute value.



4
5
6
# File 'lib/cameraplus/photo_exif.rb', line 4

def value
  @value
end