Sha256: 121f23c65186ae4033737085ce819ca59cc9f1aa22746c5d31c677203188a057

Contents?: true

Size: 357 Bytes

Versions: 19

Compression:

Stored size: 357 Bytes

Contents

require 'netbox_client_ruby/entity'

module NetboxClientRuby
  module DCIM
    class Site
      include Entity

      id id: :id
      readonly_fields :count_prefixes, :count_vlans, :count_racks, :count_devices,
                      :count_circuits

      deletable true
      path 'dcim/sites/:id.json'
      creation_path 'dcim/sites/'
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
netbox-client-ruby-0.4.10 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.4.9 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.4.7 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.4.6 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.4.3 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.4.2 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.4.1 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.4.0 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.3.1 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.3.0 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.2.3 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.2.2 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.2.1 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.2.0 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.1.4 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.1.3 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.1.2 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.1.1 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.1.0 lib/netbox_client_ruby/api/dcim/site.rb