lib/smess/outputs/global_mouth.rb in smess-2.0.2 vs lib/smess/outputs/global_mouth.rb in smess-2.0.3
- old
+ new
@@ -22,10 +22,10 @@
def username
@username.dup # paranoid safeguard
end
def url
- "https://mcm.globalmouth.com:8443/api/mcm"
+ config.fetch(:url) || "https://mcm.globalmouth.com:8443/api/mcm"
end
def params
@params ||= {
username: username,
\ No newline at end of file