Sha256: bad5437ef946cf1df562e934450a3ea936b5409259bc0294616381fac2ffc248
Contents?: true
Size: 384 Bytes
Versions: 4
Compression:
Stored size: 384 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/dcim/rack' module NetboxClientRuby class Racks include NetboxClientRuby::Entities path 'dcim/racks.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) NetboxClientRuby::Rack.new raw_entity['id'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems