class Pio::OpenFlow10::PortStatus::Reason
What changed about the physical port
Constants
- REASONS
Public Instance Methods
get()
click to toggle source
# File lib/pio/open_flow10/port_status/reason.rb, line 13 def get REASONS.invert.fetch(reason) end
set(value)
click to toggle source
# File lib/pio/open_flow10/port_status/reason.rb, line 17 def set(value) self.reason = REASONS.fetch(value) end