Sha256: 367ad0b238f0a7974a7b7e11a1a86896c6cd2d627c9e6c0202ebe672b05898ec

Contents?: true

Size: 1.89 KB

Versions: 3

Compression:

Stored size: 1.89 KB

Contents

require "http_accept_language"
require "active_record_survey"
require "globalize"

require "active_record_survey_api/engine"

require "active_record_survey_api/concerns/controllers/surveys"
require "active_record_survey_api/concerns/controllers/questions"
require "active_record_survey_api/concerns/controllers/answers"
require "active_record_survey_api/concerns/controllers/node_maps"
require "active_record_survey_api/concerns/controllers/nodes"
require "active_record_survey_api/concerns/controllers/instances"
require "active_record_survey_api/concerns/controllers/instance_nodes"

require "active_record_survey_api/models/node"
require "active_record_survey_api/models/node_map"
require "active_record_survey_api/models/node/question"
require "active_record_survey_api/models/node/answer"
require "active_record_survey_api/models/instance"

require "active_record_survey_api/serializers/base_serializer"
require "active_record_survey_api/serializers/answer_serializer"
require "active_record_survey_api/serializers/instance_serializer"
require "active_record_survey_api/serializers/instance_node_serializer"
require "active_record_survey_api/serializers/node_map_serializer"
require "active_record_survey_api/serializers/node_serializer"
require "active_record_survey_api/serializers/question_serializer"
require "active_record_survey_api/serializers/survey_serializer"

module ActiveRecordSurveyApi
end

ActiveRecordSurvey::Node.send(:include, ActiveRecordSurveyApi::Models::Node)
ActiveRecordSurvey::NodeMap.send(:include, ActiveRecordSurveyApi::Models::NodeMap)
ActiveRecordSurvey::Node::Question.send(:include, ActiveRecordSurveyApi::Models::Node::Question)
ActiveRecordSurvey::Node::Answer.send(:include, ActiveRecordSurveyApi::Models::Node::Answer)
ActiveRecordSurvey::Instance.send(:include, ActiveRecordSurveyApi::Models::Instance)

# Fallback support
#require "i18n/backend/fallbacks" 
#I18n.fallbacks.map('es' => 'en')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_record_survey_api-0.0.11 lib/active_record_survey_api.rb
active_record_survey_api-0.0.7 lib/active_record_survey_api.rb
active_record_survey_api-0.0.6 lib/active_record_survey_api.rb