lib/doggy/models/monitor.rb in doggy-2.0.41 vs lib/doggy/models/monitor.rb in doggy-2.0.42
- old
+ new
@@ -85,14 +85,14 @@
save_local
end
end
def human_url
- "https://app.datadoghq.com/monitors##{ id }"
+ "https://#{Doggy.base_human_url}/monitors##{ id }"
end
def human_edit_url
- "https://app.datadoghq.com/monitors##{ id }/edit"
+ "https://#{Doggy.base_human_url}/monitors##{ id }/edit"
end
def to_h
Doggy::Model.sort_by_key(super.merge(options: options.to_h))
end