Sha256: d248965b049506a2cf45d262851bbfb3e4f43ad102f16198ee7bd75925922186
Contents?: true
Size: 400 Bytes
Versions: 33
Compression:
Stored size: 400 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/ipam/prefix' module NetboxClientRuby module IPAM class Prefixes include Entities path 'ipam/prefixes.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) Prefix.new raw_entity['id'] end end end end
Version data entries
33 entries across 33 versions & 1 rubygems