Class: SonyCameraRemote::Services::ScalarWebAPIService

Inherits:
Service
  • Object
show all
Defined in:
lib/sony_camera_remote/service.rb

Instance Attribute Summary collapse

Attributes inherited from Service

#control_url, #event_sub_url, #id, #scpd_url, #type

Instance Method Summary collapse

Instance Attribute Details

#access_typeObject

Returns the value of attribute access_type.



17
18
19
# File 'lib/sony_camera_remote/service.rb', line 17

def access_type
  @access_type
end

#actionlist_urlObject

Returns the value of attribute actionlist_url.



17
18
19
# File 'lib/sony_camera_remote/service.rb', line 17

def actionlist_url
  @actionlist_url
end

Instance Method Details

#base_uriObject



19
20
21
# File 'lib/sony_camera_remote/service.rb', line 19

def base_uri
  URI([actionlist_url, type].join('/'))
end