Class: LokaliseRails::TaskDefinition::Base
- Inherits:
-
Object
- Object
- LokaliseRails::TaskDefinition::Base
- Defined in:
- lib/lokalise_rails/task_definition/base.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.check_required_opts ⇒ Object
10 11 12 13 14 15 |
# File 'lib/lokalise_rails/task_definition/base.rb', line 10 def check_required_opts return [false, 'Project ID is not set! Aborting...'] unless LokaliseRails.project_id return [false, 'Lokalise API token is not set! Aborting...'] unless LokaliseRails.api_token [true, ''] end |