Sha256: 269d8481b3b10c163bf78d021d814edd055648600fd9f215ecdcd2bd9efc06e2

Contents?: true

Size: 337 Bytes

Versions: 4

Compression:

Stored size: 337 Bytes

Contents

require 'netbox_client_ruby/entity'

module NetboxClientRuby
  class Site
    include NetboxClientRuby::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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
netbox-client-ruby-0.0.4 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.0.3 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.0.2 lib/netbox_client_ruby/api/dcim/site.rb
netbox-client-ruby-0.0.1 lib/netbox_client_ruby/api/dcim/site.rb