Class: Net::SNMP::V2InformDsl
- Includes:
- Debug
- Defined in:
- lib/net/snmp/trap_handler/v2_inform_dsl.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Attributes inherited from V2TrapDsl
Instance Method Summary collapse
-
#initialize(message) ⇒ V2InformDsl
constructor
A new instance of V2InformDsl.
- #ok ⇒ Object
Methods included from Debug
Methods inherited from V2TrapDsl
#oid, #pdu, #uptime, #varbinds
Constructor Details
#initialize(message) ⇒ V2InformDsl
Returns a new instance of V2InformDsl.
7 8 9 |
# File 'lib/net/snmp/trap_handler/v2_inform_dsl.rb', line 7 def initialize() super end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
5 6 7 |
# File 'lib/net/snmp/trap_handler/v2_inform_dsl.rb', line 5 def response @response end |
Instance Method Details
#ok ⇒ Object
11 12 13 |
# File 'lib/net/snmp/trap_handler/v2_inform_dsl.rb', line 11 def ok .echo end |