Sha256: 017f561fb76fb01589e3c6de95facb24b71532689e612ec8c533e62db57a985c
Contents?: true
Size: 404 Bytes
Versions: 5
Compression:
Stored size: 404 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/ipam/ip_range' module NetboxClientRuby module IPAM class IpRanges include Entities path 'ipam/ip-ranges.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) IpRange.new raw_entity['id'] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems