You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just kind of a "gotcha" point, when dealing with GSLB which requires regions with spaces. Basically the uri needs to be normalized before being used, may want to wrap the normalization into the game itself instead of needing to be called before passing it (or just doing a quick mention of it in the docs), this is currently how I call it:
If you moved the "Addressable::URI.parse" into the gem it would simplify it for the user... I guess this is actually more a feature request since the game still works great!
The text was updated successfully, but these errors were encountered:
Just kind of a "gotcha" point, when dealing with GSLB which requires regions with spaces. Basically the uri needs to be normalized before being used, may want to wrap the normalization into the game itself instead of needing to be called before passing it (or just doing a quick mention of it in the docs), this is currently how I call it:
!/usr/bin/env ruby
require 'rubygems'
require 'dynect_rest'
require 'addressable/uri'
dyn = DynectRest.new("CUSTOMER_NAME", "USER_NAME", "PASSWORD", "ZONEt")
dyn.post(Addressable::URI.parse("GSLBRegionPoolEntry/ZONE/FQDN/US West/").normalize.to_str, {"address" => "2.2.32.2"})
dyn.publish
If you moved the "Addressable::URI.parse" into the gem it would simplify it for the user... I guess this is actually more a feature request since the game still works great!
The text was updated successfully, but these errors were encountered: