Class: Alula::CameraSetRecordingConfigProc::Response

Inherits:
RpcResponse
  • Object
show all
Defined in:
lib/alula/procedures/camera_set_rec_config_proc.rb

Instance Attribute Summary collapse

Attributes inherited from RpcResponse

#data, #http_status, #request_id

Instance Method Summary collapse

Methods inherited from RpcResponse

#ok?

Constructor Details

#initialize(response) ⇒ Response

Returns a new instance of Response.



9
10
11
12
13
# File 'lib/alula/procedures/camera_set_rec_config_proc.rb', line 9

def initialize(response)
  super(response)
  @result = response.data['data']
  @cmd = response
end

Instance Attribute Details

#resultObject

Returns the value of attribute result.



7
8
9
# File 'lib/alula/procedures/camera_set_rec_config_proc.rb', line 7

def result
  @result
end