Sha256: a32dffcace9e0c001f6453f4ddc7c763e9ad6b9056d7559a087d0eb97f960ef7
Contents?: true
Size: 404 Bytes
Versions: 4
Compression:
Stored size: 404 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/ipam/aggregate' module NetboxClientRuby class Aggregates include NetboxClientRuby::Entities path 'ipam/aggregates.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) NetboxClientRuby::Aggregate.new raw_entity['id'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems