Module: Vantage::Config
Instance Method Summary collapse
Instance Method Details
#endpoint(name) ⇒ Object
13 14 15 16 17 |
# File 'lib/vantage/config.rb', line 13 def endpoint(name) uri = endpoint_base uri.host = "#{name}.#{uri.host}" uri end |
#endpoint_base ⇒ Object
9 10 11 |
# File 'lib/vantage/config.rb', line 9 def endpoint_base URI("http://anon:[email protected]/checks") end |
#point_list ⇒ Object
5 6 7 |
# File 'lib/vantage/config.rb', line 5 def point_list %w[aws-us-east-1] end |