module Corn

Public Instance Methods

configured?() click to toggle source
# File lib/corn.rb, line 42
def configured?
  if host.nil? || host.empty?
    Corn.logger.info("Corn host not found")
  end
  if client_id.nil? || client_id.empty?
    Corn.logger.info("Corn client id not found")
  end
  !!(host && client_id)
end
submit_url() click to toggle source
# File lib/corn.rb, line 52
def submit_url
  File.join(host, 'profiling_data')
end