class Pec::PortError
Attributes
attribute[RW]
Public Class Methods
new(ports)
click to toggle source
# File lib/pec/port_error.rb, line 3 def initialize(ports) self.attribute = { networks: ports.map {|port| { uuid: '', port: port.id }} } if ports end