Class: LocoRb::Resource::Locale
- Inherits:
-
BaseResource
- Object
- OpenStruct
- BaseResource
- LocoRb::Resource::Locale
- Defined in:
- lib/loco-rb/resource/locale.rb
Instance Attribute Summary
Attributes inherited from BaseResource
Instance Method Summary collapse
-
#initialize(asset, headers, key = 'locale') ⇒ Locale
constructor
A new instance of Locale.
Constructor Details
#initialize(asset, headers, key = 'locale') ⇒ Locale
Returns a new instance of Locale.
6 7 8 |
# File 'lib/loco-rb/resource/locale.rb', line 6 def initialize(asset, headers, key='locale') super(asset, headers, key) end |