module CanaryIpa

Constants

VERSION

Attributes

host[W]
port[W]

Public Class Methods

config() { |self| ... } click to toggle source
# File lib/canary_ipa.rb, line 13
def config
  yield self
end
host() click to toggle source
# File lib/canary_ipa.rb, line 7
def host
  @host || ENV["CANARY_MONITORING_AGENT_HOST"] || "127.0.0.1"
end
port() click to toggle source
# File lib/canary_ipa.rb, line 10
def port
  @port || (ENV["CANAY_MONITORING_AGENT_PORT"] || "51712").to_i
end