Class: GPhoto2::CameraEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/gphoto2/camera_event.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



2
3
4
# File 'lib/gphoto2/camera_event.rb', line 2

def data
  @data
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



2
3
4
# File 'lib/gphoto2/camera_event.rb', line 2

def type
  @type
end