Sha256: 39b4a37d6a7653ec9a625cd45ada88382aeffa8ac3a5c63ae2e637d2eb426498
Contents?: true
Size: 369 Bytes
Versions: 34
Compression:
Stored size: 369 Bytes
Contents
require 'netbox_client_ruby/entity' require 'netbox_client_ruby/api/dcim/device' module NetboxClientRuby module DCIM class Interface include Entity id id: :id deletable true path 'dcim/interfaces/:id.json' creation_path 'dcim/interfaces/' object_fields device: proc { |raw_data| Device.new raw_data['id'] } end end end
Version data entries
34 entries across 34 versions & 1 rubygems