Module: Graphcommons
- Defined in:
- lib/graphcommons.rb
Overview
Ruby wrapper for Graphcommons API.
More info at: graphcommons.github.io/api-v1/
Defined Under Namespace
Classes: API, APIError, Endpoint, Search, Signal
Constant Summary collapse
- @@verbose =
false
Class Method Summary collapse
-
.quiet! ⇒ Object
Switch off verbose output.
-
.verbose ⇒ Object
Check verbose output.
-
.verbose! ⇒ Object
Switch on verbose output.
Class Method Details
.quiet! ⇒ Object
Switch off verbose output.
25 26 27 28 |
# File 'lib/graphcommons.rb', line 25 def self.quiet! @@verbose = false true end |
.verbose ⇒ Object
Check verbose output. Default is false.
15 16 17 |
# File 'lib/graphcommons.rb', line 15 def self.verbose @@verbose end |
.verbose! ⇒ Object
Switch on verbose output.
20 21 22 |
# File 'lib/graphcommons.rb', line 20 def self.verbose! @@verbose = true end |