Method: Assistly::Client::Topic#topics

Defined in:
lib/assistly/client/topic.rb

#topics(*args) ⇒ Object

Returns extended information of topics

@option options [Boolean, String, Integer] @example Return extended information for 12345 Assistly.topics Assistly.topics(:count => 5) Assistly.topics(:count => 5, :page => 3)

See Also:

Supported formats:

  • :json

Requires Authentication:

  • true



15
16
17
18
19
# File 'lib/assistly/client/topic.rb', line 15

def topics(*args)
  options = args.last.is_a?(Hash) ? args.pop : {}
  response = get("topics",options)
  response
end