Class: Cwmp::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/cwmp/acs.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 message, &block
    @message = message
    @cb = block
end

Instance Attribute Details

#cbObject

Returns the value of attribute cb.



21
22
23
# File 'lib/cwmp/acs.rb', line 21

def cb
  @cb
end

#messageObject

Returns the value of attribute message.



21
22
23
# File 'lib/cwmp/acs.rb', line 21

def message
  @message
end