Class: Disqussion::Imports
- Defined in:
- lib/disqussion/client/imports.rb
Instance Method Summary collapse
-
#details(*args) ⇒ Hashie::Rash
@accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: true @limited: false @see: http://disqus.com/api/3.0/imports/details.json.
-
#list(*args) ⇒ Hashie::Rash
Returns list of previous imports.
Methods included from Request
Instance Method Details
#details(*args) ⇒ Hashie::Rash
@accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: true @limited: false @see: http://disqus.com/api/3.0/imports/details.json
14 15 16 17 18 |
# File 'lib/disqussion/client/imports.rb', line 14 def details(*args) = args.last.is_a?(Hash) ? args.pop : {} [:group] = args.first response = get('imports/details', ) end |
#list(*args) ⇒ Hashie::Rash
Returns list of previous imports. @accessibility: public key, secret key @methods: GET @format: json, jsonp @authenticated: true @limited: false @see: http://disqus.com/api/3.0/imports/list.json
33 34 35 36 37 |
# File 'lib/disqussion/client/imports.rb', line 33 def list(*args) = args.last.is_a?(Hash) ? args.pop : {} [:forum] = args.first response = get('imports/list', ) end |