Class: Alula::CameraGetStatsProc::Response

Inherits:
RpcResponse
  • Object
show all
Defined in:
lib/alula/procedures/camera_get_stats_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.



8
9
10
11
# File 'lib/alula/procedures/camera_get_stats_proc.rb', line 8

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

Instance Attribute Details

#resultObject

Returns the value of attribute result.



6
7
8
# File 'lib/alula/procedures/camera_get_stats_proc.rb', line 6

def result
  @result
end