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-1.5.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.4.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.3.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.2.4 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.2.3 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.2.2 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.2.1 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.2.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.1.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.0.2 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-0.69.11 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.0.1 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-0.69.10 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-1.0.0 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-0.69.9 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-0.69.8 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-0.69.7 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-0.69.6 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-0.69.5 lib/alula/procedures/device_unregister_proc.rb
alula-ruby-0.69.4 lib/alula/procedures/device_unregister_proc.rb