Class: SonyCameraRemote::Device
- Inherits:
-
Struct
- Object
- Struct
- SonyCameraRemote::Device
- Defined in:
- lib/sony_camera_remote/device.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
-
#model ⇒ Object
Returns the value of attribute model.
-
#name ⇒ Object
Returns the value of attribute name.
-
#services ⇒ Object
readonly
Returns the value of attribute services.
Instance Method Summary collapse
-
#initialize ⇒ Device
constructor
A new instance of Device.
Constructor Details
#initialize ⇒ Device
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
#manufacturer ⇒ Object
Returns the value of attribute manufacturer
8 9 10 |
# File 'lib/sony_camera_remote/device.rb', line 8 def manufacturer @manufacturer end |
#model ⇒ Object
Returns the value of attribute model
8 9 10 |
# File 'lib/sony_camera_remote/device.rb', line 8 def model @model end |
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/sony_camera_remote/device.rb', line 8 def name @name end |
#services ⇒ Object (readonly)
Returns the value of attribute services.
9 10 11 |
# File 'lib/sony_camera_remote/device.rb', line 9 def services @services end |