Class: CocRb::Check
Class Method Summary collapse
-
.get_Headers ⇒ Object
This method gets headers for a particular endpoint.
Methods inherited from Settings
Class Method Details
.get_Headers ⇒ Object
This method gets headers for a particular endpoint. Takes the requestUrl in the configuration block.
41 42 43 44 45 |
# File 'lib/cocRb/utility.rb', line 41 def self.get_Headers get res = @conn.get(CocRb.configuration.url) res.headers end |