lib/heartcheck/checks/base.rb in heartcheck-1.4.0 vs lib/heartcheck/checks/base.rb in heartcheck-1.5.0

- old
+ new

@@ -131,9 +131,16 @@ # @return [String] def inspect "#<#{self.class.name} name: #{name}, functional: #{functional?}, dev: #{dev?}>" end + # Returns a structure comprised of host, port and + # schema (protocol) for the check + # + # @return [Hash] + def uri_info + { error: "#{self.class.name} #url_info not implemented." } + end def informations info rescue => e { 'error' => e.message }