Class: Alula::VideoRegisterProc
- Inherits:
-
RpcResource
- Object
- RpcResource
- Alula::VideoRegisterProc
- Defined in:
- lib/alula/procedures/video_register_proc.rb
Defined Under Namespace
Classes: Response
Class Method Summary collapse
Methods inherited from RpcResource
Class Method Details
.call(**kwargs) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/alula/procedures/video_register_proc.rb', line 18 def self.call(**kwargs) payload = { qrCode: kwargs[:qr_code], accountId: kwargs[:account_id], customerId: kwargs[:customer_id], serialNumber: kwargs[:serial_number], verificationCode: kwargs[:verification_code], brand: kwargs[:brand], model: kwargs[:model] } request( http_method: :post, path: '/rpc/v1/video/register', payload:, handler: Response ) end |