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
It looks like the issue is that the override of the server attribute in WebService/DNSMadeEasy/Client.pm is not executing it's builder. I'm not sure why this is, and i tried disabling lazy, and explicitly referencing the builder (builder = _build_server), but no luck with these.
I was able to get it to work by using a default instead, changing the line
has '+server'=> (builder=> 1, lazy=> 1);
in Client.pm to the following:
has '+server'=> (default=>sub {
my$self = shift;
return _build_server($self);
});
If you're ok with this as a fix, I can submit a PR, however it might make more sense to re-name the _build_server subroutine since it's not technically the builder for the attribute any more. Alternately, the ternary condition to return the sandbox vs. live URL could just be put into the subroutine for the default.
The text was updated successfully, but these errors were encountered:
When running:
I get the following failure:
It looks like the issue is that the override of the
server
attribute inWebService/DNSMadeEasy/Client.pm
is not executing it's builder. I'm not sure why this is, and i tried disablinglazy
, and explicitly referencing the builder (builder = _build_server
), but no luck with these.I was able to get it to work by using a default instead, changing the line
in Client.pm to the following:
If you're ok with this as a fix, I can submit a PR, however it might make more sense to re-name the _build_server subroutine since it's not technically the builder for the attribute any more. Alternately, the ternary condition to return the sandbox vs. live URL could just be put into the subroutine for the default.
The text was updated successfully, but these errors were encountered: