Class: UpGuard::NodeType
- Inherits:
-
BaseObject
- Object
- BaseObject
- UpGuard::NodeType
- Defined in:
- lib/upguard/NodeType.rb
Constant Summary collapse
- SERVICE =
"SC"- SERVER =
"SV"- DATABASE =
"DB"- DESKTOP =
"DT"- SWITCH =
"SW"- FIREWALL =
"FW"- ROUTER =
"RT"- SMART_PHONE =
"PH"- ROBOT =
"RB"- SAN_STORAGE =
"SS"- WEBSITE =
"WS"
Instance Attribute Summary
Attributes inherited from BaseObject
#appliance_api_key, #appliance_url, #insecure, #sec_key
Instance Method Summary collapse
Methods inherited from BaseObject
#http_delete, #http_get, #http_post, #http_put, #initialize, #make_headers
Constructor Details
This class inherits a constructor from UpGuard::BaseObject
Instance Method Details
#from_hash(h) ⇒ Object
3 4 |
# File 'lib/upguard/NodeType.rb', line 3 def from_hash(h) end |
#to_hash ⇒ Object
5 6 7 8 |
# File 'lib/upguard/NodeType.rb', line 5 def to_hash h = {} return h end |
#to_json(options = nil) ⇒ Object
9 10 11 12 |
# File 'lib/upguard/NodeType.rb', line 9 def to_json( = nil) h = to_hash return h.to_json() end |