module WinewooCore
Constants
- VERSION
Attributes
configuration[RW]
Public Class Methods
award_repo()
click to toggle source
# File lib/winewoo_core.rb, line 31 def award_repo ; self.configuration.award_repo end
cellar_repo()
click to toggle source
# File lib/winewoo_core.rb, line 16 def cellar_repo ; self.configuration.cellar_repo end
comments_repo()
click to toggle source
# File lib/winewoo_core.rb, line 17 def comments_repo ; self.configuration.comments_repo end
configure() { |configuration| ... }
click to toggle source
# File lib/winewoo_core.rb, line 39 def configure yield(configuration) end
criterions_repo()
click to toggle source
# File lib/winewoo_core.rb, line 18 def criterions_repo ; self.configuration.criterions_repo end
favorites_repo()
click to toggle source
# File lib/winewoo_core.rb, line 19 def favorites_repo ; self.configuration.favorites_repo end
feed_repo()
click to toggle source
# File lib/winewoo_core.rb, line 29 def feed_repo ; self.configuration.feed_repo end
global_wine_data_repo()
click to toggle source
# File lib/winewoo_core.rb, line 30 def global_wine_data_repo ; self.configuration.global_wine_data_repo end
hello!()
click to toggle source
This is a test method used to test the gem It returns the configured global variable hello_sentence.
# File lib/winewoo_core.rb, line 14 def hello! ; self.configuration.hello_sentence end
history_repo()
click to toggle source
# File lib/winewoo_core.rb, line 20 def history_repo ; self.configuration.history_repo end
log_repo()
click to toggle source
# File lib/winewoo_core.rb, line 21 def log_repo ; self.configuration.log_repo end
producers_repo()
click to toggle source
# File lib/winewoo_core.rb, line 22 def producers_repo ; self.configuration.producers_repo end
reset()
click to toggle source
# File lib/winewoo_core.rb, line 44 def reset @configuration = Configuration.new end
users_repo()
click to toggle source
# File lib/winewoo_core.rb, line 23 def users_repo ; self.configuration.users_repo end
vintages_repo()
click to toggle source
# File lib/winewoo_core.rb, line 24 def vintages_repo ; self.configuration.vintages_repo end
wines_repo()
click to toggle source
# File lib/winewoo_core.rb, line 25 def wines_repo ; self.configuration.wines_repo end
winewoo_user_devices_repo()
click to toggle source
# File lib/winewoo_core.rb, line 26 def winewoo_user_devices_repo ; self.configuration.winewoo_user_devices_repo end
winewoo_user_logs_repo()
click to toggle source
# File lib/winewoo_core.rb, line 27 def winewoo_user_logs_repo ; self.configuration.winewoo_user_logs_repo end
winewoo_users_repo()
click to toggle source
# File lib/winewoo_core.rb, line 28 def winewoo_users_repo ; self.configuration.winewoo_users_repo end