Class: Fotolia::RepresentativeCategories

Inherits:
Categories
  • Object
show all
Defined in:
lib/fotolia/representative_categories.rb

Overview

An interface to the representative categories at Fotolia.

You should consider using Fotolia::Base#representative_categories as shortcut to an instance of this class.

Instance Method Summary collapse

Methods inherited from Categories

#find, #root_level

Constructor Details

#initialize(fotolia_client) ⇒ RepresentativeCategories

Returns a new instance of RepresentativeCategories.



9
10
11
12
13
# File 'lib/fotolia/representative_categories.rb', line 9

def initialize(fotolia_client)
  @method = 'getCategories1'
  @klass = RepresentativeCategory
  super(fotolia_client)
end