class WinewooCore::Configuration
Attributes
award_repo[RW]
cellar_repo[RW]
REPOSITORIES FOR USE CASES
comments_repo[RW]
criterions_repo[RW]
favorites_repo[RW]
feed_repo[RW]
global_wine_data_repo[RW]
hello_sentence[RW]
This is a default variable used to test the behaviour of the gem. Configure it in an initializer and you will be able to call Winewoo.hello! to get it and see that the gem is imported and can be configured.
history_repo[RW]
log_repo[RW]
producers_repo[RW]
users_repo[RW]
vintages_repo[RW]
wines_repo[RW]
winewoo_user_devices_repo[RW]
winewoo_user_logs_repo[RW]
winewoo_users_repo[RW]
Public Class Methods
new()
click to toggle source
attr_accessor :interpro_criterions_repo attr_accessor :interpro_producers_repo attr_accessor :interpro_vintages_repo attr_accessor :interpro_wines_repo attr_accessor :interpro_winewoo_user_logs_repo attr_accessor :interpro_winewoo_users_repo
# File lib/winewoo_core/configuration.rb, line 41 def initialize @hello_sentence = "Hello World !" @authorizer = Services::Authorizers::NullAuthorizer @cellar_repo = Repositories::Mongo::CellarMongoRepo @comments_repo = Repositories::Mongo::CommentsMongoRepo @criterions_repo = Repositories::Mongo::CriterionsMongoRepo @favorites_repo = Repositories::Mongo::FavoritesMongoRepo @history_repo = Repositories::Mongo::HistoryMongoRepo @log_repo = Repositories::Mongo::WinewooUserLogsMongoRepo @users_repo = Repositories::Mongo::UsersMongoRepo @producers_repo = Repositories::Mongo::ProducersMongoRepo @vintages_repo = Repositories::Mongo::VintagesMongoRepo @wines_repo = Repositories::Mongo::WinesMongoRepo @winewoo_user_devices_repo = Repositories::Mongo::WinewooUserDevicesMongoRepo @winewoo_user_logs_repo = Repositories::Mongo::WinewooUserLogsMongoRepo @winewoo_users_repo = Repositories::Mongo::WinewooUsersMongoRepo @feed_repo = Repositories::ElasticSearch::FeedElasticRepo @global_wine_data_repo = Repositories::Mongo::GlobalWineDataMongoRepo @award_repo = Repositories::Mongo::AwardMongoRepo end