Sha256: 1065c75d8b2a183aef2ccfe650cceabebac9fa7cdbbee02251c9e736fb49ea22
Contents?: true
Size: 432 Bytes
Versions: 24
Compression:
Stored size: 432 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/virtualization/cluster' module NetboxClientRuby module Virtualization class Clusters include Entities path 'virtualization/clusters.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) Cluster.new raw_entity['id'] end end end end
Version data entries
24 entries across 24 versions & 1 rubygems