Class: SonyCameraRemote::Device

Inherits:
Struct
  • Object
show all
Defined in:
lib/sony_camera_remote/device.rb

Direct Known Subclasses

ScalarWebAPIDevice

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDevice

Returns a new instance of Device.



11
12
13
# File 'lib/sony_camera_remote/device.rb', line 11

def initialize
  @services = {}
end

Instance Attribute Details

#manufacturerObject

Returns the value of attribute manufacturer

Returns:

  • (Object)

    the current value of manufacturer



8
9
10
# File 'lib/sony_camera_remote/device.rb', line 8

def manufacturer
  @manufacturer
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



8
9
10
# File 'lib/sony_camera_remote/device.rb', line 8

def model
  @model
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/sony_camera_remote/device.rb', line 8

def name
  @name
end

#servicesObject (readonly)

Returns the value of attribute services.



9
10
11
# File 'lib/sony_camera_remote/device.rb', line 9

def services
  @services
end