Sha256: e945a30d32d4a7bf41c7e1cb5682b30fcec7e319800ec9ceb49ef124b638bd28
Contents?: true
Size: 406 Bytes
Versions: 4
Compression:
Stored size: 406 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/ipam/vlan_group' module NetboxClientRuby class VlanGroups include NetboxClientRuby::Entities path 'ipam/vlan-groups.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) NetboxClientRuby::VlanGroup.new raw_entity['id'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems