Class: Pears::Provider::Loco
Overview
Maps to a Locolize export
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(api_key, url) ⇒ Loco
constructor
A new instance of Loco.
Methods inherited from Base
Constructor Details
#initialize(api_key, url) ⇒ Loco
Returns a new instance of Loco.
5 6 7 |
# File 'lib/pears/provider/loco.rb', line 5 def initialize(api_key, url) @data = fetch_from_loco(api_key, url) end |