class SDN::Message::PostNodeLabel
Constants
- MAX_LENGTH
- MSG
Attributes
label[RW]
Public Class Methods
new(label = nil, **kwargs)
click to toggle source
Calls superclass method
SDN::Message::new
# File lib/sdn/message/post.rb, line 195 def initialize(label = nil, **kwargs) super(**kwargs) self.label = label end
Public Instance Methods
params()
click to toggle source
# File lib/sdn/message/post.rb, line 204 def params from_string(label, self.class::MAX_LENGTH) end
parse(params)
click to toggle source
# File lib/sdn/message/post.rb, line 200 def parse(params) @label = to_string(params) end