lib/moocher/domains.rb in moocher-0.1.1.3pre vs lib/moocher/domains.rb in moocher-0.1.1.4pre
- old
+ new
@@ -12,10 +12,10 @@
else
if details == true
response = HTTParty.get("https://api.moocher.io/baddomain/#{domain_name}", headers: {"Content-Type": "application/json"})
return response.parsed_response
else
- "'details:' can only be set to true."
+ "'details:' is by default set to false. You can only be set it to true."
end
end
end
end
end