Class: Disqussion::Reports
- Defined in:
- lib/disqussion/client/reports.rb
Instance Method Summary collapse
-
#domains(*args) ⇒ Hashie::Rash
Returns report on domains @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: false @limited: false @see: http://disqus.com/api/3.0/reports/domains.json.
-
#ips(*args) ⇒ Hashie::Rash
Returns report on ips @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: false @limited: false @see: http://disqus.com/api/3.0/reports/ips.json.
-
#threads(*args) ⇒ Hashie::Rash
Returns report on threads @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: false @limited: false @see: http://disqus.com/api/3.0/reports/threads.json.
-
#users(*args) ⇒ Hashie::Rash
Returns report on users @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: false @limited: false @see: http://disqus.com/api/3.0/reports/users.json.
Methods included from Request
Instance Method Details
#domains(*args) ⇒ Hashie::Rash
Returns report on domains @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: false @limited: false @see: http://disqus.com/api/3.0/reports/domains.json
17 18 19 20 |
# File 'lib/disqussion/client/reports.rb', line 17 def domains(*args) = args.last.is_a?(Hash) ? args.pop : {} response = get('reports/domains', ) end |
#ips(*args) ⇒ Hashie::Rash
Returns report on ips @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: false @limited: false @see: http://disqus.com/api/3.0/reports/ips.json
36 37 38 39 |
# File 'lib/disqussion/client/reports.rb', line 36 def ips(*args) = args.last.is_a?(Hash) ? args.pop : {} response = get('reports/ips', ) end |
#threads(*args) ⇒ Hashie::Rash
Returns report on threads @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: false @limited: false @see: http://disqus.com/api/3.0/reports/threads.json
55 56 57 58 |
# File 'lib/disqussion/client/reports.rb', line 55 def threads(*args) = args.last.is_a?(Hash) ? args.pop : {} response = get('reports/threads', ) end |
#users(*args) ⇒ Hashie::Rash
Returns report on users @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: false @limited: false @see: http://disqus.com/api/3.0/reports/users.json
74 75 76 77 |
# File 'lib/disqussion/client/reports.rb', line 74 def users(*args) = args.last.is_a?(Hash) ? args.pop : {} response = get('reports/users', ) end |