Sha256: bd41baa5f96f02c550d758ab1d19456569a4556739bc834ef5a1a07b82c816db
Contents?: true
Size: 407 Bytes
Versions: 33
Compression:
Stored size: 407 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/tenancy/tenant' module NetboxClientRuby module Tenancy class Tenants include Entities path 'tenancy/tenants.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) Tenant.new raw_entity['id'] end end end end
Version data entries
33 entries across 33 versions & 1 rubygems