Sha256: c38393079467cea66186136f9eee396a1421d762efcad21246c9086a1c8c3441

Contents?: true

Size: 392 Bytes

Versions: 83

Compression:

Stored size: 392 Bytes

Contents

module Alula
  class DeviceUnregisterProc < Alula::RpcResource

    class Response < Alula::RpcResponse
    end

    def self.call(mac:, deactivate:)
      payload = {
        mac: mac,
        deactivate: deactivate,
      }

      request( 
        http_method: :post,
        path: '/rpc/v1/devices/unregister',
        payload: payload,
        handler: Response
      )
    end
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
alula-ruby-2.6.3 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.6.2 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.6.1 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.6.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.5.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.4.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.3.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.2.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.1.2 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.1.1 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.1.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-2.0.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.10.5 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.10.4 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.10.3 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.10.2 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.10.1 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.10.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.9.17 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.9.16 lib/alula/procedures/device_unregister_proc.rb