Class: Fotolia::Countries
- Inherits:
-
Object
- Object
- Fotolia::Countries
- Defined in:
- lib/fotolia/countries.rb
Overview
Fetches all countries known to Fotolia from its API.
You may use Fotolia::Base#countries as shortcut to an instance of this class.
Instance Method Summary collapse
-
#find_all ⇒ Object
Returns an array of Fotolia::Country objects.
-
#initialize(fotolia_client) ⇒ Countries
constructor
A new instance of Countries.
Constructor Details
#initialize(fotolia_client) ⇒ Countries
Returns a new instance of Countries.
8 9 10 |
# File 'lib/fotolia/countries.rb', line 8 def initialize(fotolia_client) @fotolia = fotolia_client end |