Sha256: 64ca4bab92581fc2fa83b5d8e76960dafa5cbb56ade87f81464dcc02a8cf07e2
Contents?: true
Size: 412 Bytes
Versions: 29
Compression:
Stored size: 412 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/dcim/rack_group' module NetboxClientRuby module DCIM class RackGroups include Entities path 'dcim/rack-groups.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) RackGroup.new raw_entity['id'] end end end end
Version data entries
29 entries across 29 versions & 1 rubygems