Method: SonyCameraRemoteAPI::Shelf#ep

Defined in:
lib/sony_camera_remote_api/shelf.rb

#ep(ssid = nil) ⇒ Boolean

Get endpoint information to a camera config.

Returns:

  • (Boolean)

    true if successfully set endpoints, false otherwise.



142
143
144
145
146
147
148
149
# File 'lib/sony_camera_remote_api/shelf.rb', line 142

def ep(ssid = nil)
  entry = get(ssid)
  if entry
    entry['endpoints']
  else
    nil
  end
end