Class: Cwmp::Request
- Inherits:
-
Object
- Object
- Cwmp::Request
- Defined in:
- lib/cwmp/acs.rb
Instance Attribute Summary collapse
-
#cb ⇒ Object
Returns the value of attribute cb.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message, &block) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(message, &block) ⇒ Request
Returns a new instance of Request.
22 23 24 25 |
# File 'lib/cwmp/acs.rb', line 22 def initialize , &block @message = @cb = block end |
Instance Attribute Details
#cb ⇒ Object
Returns the value of attribute cb.
21 22 23 |
# File 'lib/cwmp/acs.rb', line 21 def cb @cb end |
#message ⇒ Object
Returns the value of attribute message.
21 22 23 |
# File 'lib/cwmp/acs.rb', line 21 def @message end |