Sha256: 40a51cbba1a4b309844868ee14f08d653c053965a78dd493a5973beb9254001b

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

module DiscourseApi
  module API
    module Categories
      def categories(*args)
        response = get('/categories.json', args)
        response[:body]['category_list']['categories']
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
discourse_api-0.1.2 lib/discourse_api/api/categories.rb
discourse_api-0.1.1 lib/discourse_api/api/categories.rb