Class: Zanshin::SDK::ScanTarget::HUAWEI

Inherits:
Object
  • Object
show all
Defined in:
lib/zanshin/scan_target.rb

Overview

HUAWEI scan target

Constant Summary collapse

KIND =

Type of provider that will be sent to the API

'HUAWEI'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account_id) ⇒ HUAWEI

Returns a new instance of HUAWEI.


82
83
84
# File 'lib/zanshin/scan_target.rb', line 82

def initialize()
  @account_id = 
end

Instance Attribute Details

#account_idObject

Returns the value of attribute account_id.


80
81
82
# File 'lib/zanshin/scan_target.rb', line 80

def 
  @account_id
end

Instance Method Details

#to_json(*_args) ⇒ Object

Convert HUAWEI class to json


87
88
89
90
91
# File 'lib/zanshin/scan_target.rb', line 87

def to_json(*_args)
  {
    'account_id' => @account_id
  }
end