Sha256: 92851c2232ef463ffd1a688e4f7158c0f5ebcdc6911849257af8c8526f3a93ea

Contents?: true

Size: 412 Bytes

Versions: 3

Compression:

Stored size: 412 Bytes

Contents

module RSqoot
  module Category

    # Retrieve a list of categories base on the following parameters
    #
    # @return [Hashie::Mash] category list
    def categories(options={})
      if categories_not_latest?(options)
        @rsqoot_categories = get('categories', options)
        @rsqoot_categories = @rsqoot_categories.categories if @rsqoot_categories
      end
      @rsqoot_categories
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rsqoot-0.3.2 lib/rsqoot/category.rb
rsqoot-0.3.1 lib/rsqoot/category.rb
rsqoot-0.3.0 lib/rsqoot/category.rb