Sha256: 28d3fbf512e6d85574886b5d8682265e8191c7423f20922d531f41b3281bdfe6
Contents?: true
Size: 432 Bytes
Versions: 8
Compression:
Stored size: 432 Bytes
Contents
require 'netbox_client_ruby/entities' require 'netbox_client_ruby/api/extras/journal_entry' module NetboxClientRuby module Extras class JournalEntries include Entities path 'extras/journal-entries.json' data_key 'results' count_key 'count' entity_creator :entity_creator private def entity_creator(raw_entity) JournalEntry.new raw_entity['id'] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems