README.md in virustotalx-0.1.0 vs README.md in virustotalx-0.1.1
- old
+ new
@@ -1,7 +1,8 @@
# virustotalx
+[![Gem Version](https://badge.fury.io/rb/virustotalx.svg)](https://badge.fury.io/rb/virustotalx)
[![Build Status](https://travis-ci.org/ninoseki/virustotalx.svg?branch=master)](https://travis-ci.org/ninoseki/virustotalx)
[![Coverage Status](https://coveralls.io/repos/github/ninoseki/virustotalx/badge.svg?branch=master)](https://coveralls.io/github/ninoseki/virustotalx?branch=master)
Yet another VirusTotal API wrapper for Ruby
@@ -38,9 +39,13 @@
api.url.scan("https://github.com/ninoseki/virustotalx")
api.domain.report("github.com")
api.ip_address.report("1.1.1.1")
+
+# it returns nil when given a non-existing resource to #report methods
+api.domain.report("a_domain_which_does_not_exist.com")
+# => nil
```
See `/spec/clients` for more.
## Supported API endpoints