Module: WinewooCore
- Defined in:
- lib/winewoo_core.rb,
lib/winewoo_core/engine.rb,
lib/winewoo_core/version.rb,
lib/winewoo_core/configuration.rb,
app/helpers/winewoo_core/application_helper.rb,
app/controllers/winewoo_core/application_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, Models, UseCases
Classes: ApplicationController, Configuration, Engine
Constant Summary
collapse
- VERSION =
"1.22.10"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
8
9
10
|
# File 'lib/winewoo_core.rb', line 8
def configuration
@configuration
end
|
Class Method Details
.authorizer ⇒ Object
15
|
# File 'lib/winewoo_core.rb', line 15
def authorizer ; self.configuration.authorizer end
|
.award_repo ⇒ Object
31
|
# File 'lib/winewoo_core.rb', line 31
def award_repo ; self.configuration.award_repo end
|
.cellar_repo ⇒ Object
16
|
# File 'lib/winewoo_core.rb', line 16
def cellar_repo ; self.configuration.cellar_repo end
|
17
|
# File 'lib/winewoo_core.rb', line 17
def ; self.configuration. end
|
39
40
41
|
# File 'lib/winewoo_core.rb', line 39
def configure
yield(configuration)
end
|
.criterions_repo ⇒ Object
18
|
# File 'lib/winewoo_core.rb', line 18
def criterions_repo ; self.configuration.criterions_repo end
|
.favorites_repo ⇒ Object
19
|
# File 'lib/winewoo_core.rb', line 19
def favorites_repo ; self.configuration.favorites_repo end
|
.feed_repo ⇒ Object
29
|
# File 'lib/winewoo_core.rb', line 29
def feed_repo ; self.configuration.feed_repo end
|
.global_wine_data_repo ⇒ Object
30
|
# File 'lib/winewoo_core.rb', line 30
def global_wine_data_repo ; self.configuration.global_wine_data_repo end
|
.hello! ⇒ Object
This is a test method used to test the gem It returns the configured global variable hello_sentence.
14
|
# File 'lib/winewoo_core.rb', line 14
def hello! ; self.configuration.hello_sentence end
|
.history_repo ⇒ Object
20
|
# File 'lib/winewoo_core.rb', line 20
def history_repo ; self.configuration.history_repo end
|
.log_repo ⇒ Object
21
|
# File 'lib/winewoo_core.rb', line 21
def log_repo ; self.configuration.log_repo end
|
.producers_repo ⇒ Object
22
|
# File 'lib/winewoo_core.rb', line 22
def producers_repo ; self.configuration.producers_repo end
|
.reset ⇒ Object
44
45
46
|
# File 'lib/winewoo_core.rb', line 44
def reset
@configuration = Configuration.new
end
|
.users_repo ⇒ Object
23
|
# File 'lib/winewoo_core.rb', line 23
def users_repo ; self.configuration.users_repo end
|
.vintages_repo ⇒ Object
24
|
# File 'lib/winewoo_core.rb', line 24
def vintages_repo ; self.configuration.vintages_repo end
|
.wines_repo ⇒ Object
25
|
# File 'lib/winewoo_core.rb', line 25
def wines_repo ; self.configuration.wines_repo end
|
.winewoo_user_devices_repo ⇒ Object
26
|
# File 'lib/winewoo_core.rb', line 26
def winewoo_user_devices_repo ; self.configuration.winewoo_user_devices_repo end
|
.winewoo_user_logs_repo ⇒ Object
27
|
# File 'lib/winewoo_core.rb', line 27
def winewoo_user_logs_repo ; self.configuration.winewoo_user_logs_repo end
|
.winewoo_users_repo ⇒ Object
28
|
# File 'lib/winewoo_core.rb', line 28
def winewoo_users_repo ; self.configuration.winewoo_users_repo end
|