ninech/netbox-client-ruby

View on GitHub
lib/netbox_client_ruby/api/dcim/device_role.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module NetboxClientRuby
  module DCIM
    class DeviceRole
      include Entity

      id id: :id
      deletable true
      path 'dcim/device-roles/:id.json'
      creation_path 'dcim/device-roles/'
    end
  end
end