Sha256: e757f03c52f5a01d58338634b262e25d33b0fa642fd4c8a87e6224c9be191a48

Contents?: true

Size: 403 Bytes

Versions: 14

Compression:

Stored size: 403 Bytes

Contents

require 'netbox_client_ruby/entity'
require 'netbox_client_ruby/api/dcim/device'

module NetboxClientRuby
  module DCIM
    class VirtualChassis
      include Entity

      id id: :id
      deletable true
      path 'dcim/virtual-chassis/:id.json'
      creation_path 'dcim/virtual-chassis/'

      object_fields(
        master: proc { |raw_data| Device.new raw_data['id'] },
      )
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
netbox-client-ruby-0.10.1 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.10.0 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.9.0 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.8.0 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.7.1 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.7.0 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.6.0 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.5.7 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.5.6 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.5.5 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.5.4 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.5.3 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.5.2 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb
netbox-client-ruby-0.5.1 lib/netbox_client_ruby/api/dcim/virtual_chassis.rb