Sha256: 698e7f001dfeef40de9ee558892e667d0000bb046038b69a11ca5af5617139f2
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
require 'mastodon_healthchecker/version' module MastodonHealthchecker autoload :AvailabilityInspector, 'mastodon_healthchecker/inspectors/availability' autoload :RecordExistenceInspector, 'mastodon_healthchecker/inspectors/record_existence' DefaultInspectionItems = { exists_record: RecordExistenceInspector, up: AvailabilityInspector }.freeze def self.perform(host, inspection_items: DefaultInspectionItems) inspection_items.inject({}) do |result, (key, item)| result[key] = item.call(host) result end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mastodon_healthchecker-0.1.0.pre | lib/mastodon_healthchecker.rb |