Sha256: 44b792b4fa66f8a869a0fe7276b739b864cad5eb15c65106cc3fb410f038ec5f

Contents?: true

Size: 216 Bytes

Versions: 8

Compression:

Stored size: 216 Bytes

Contents

require 'jsonapi-serializers'

module ActiveRecordSurveyApi
	class BaseSerializer #< ActiveModel::Serializer
		include JSONAPI::Serializer
		delegate :url_helpers, to: 'ActiveRecordSurveyApi::Engine.routes' 
	end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
active_record_survey_api-0.0.19 lib/active_record_survey_api/serializers/base_serializer.rb
active_record_survey_api-0.0.18 lib/active_record_survey_api/serializers/base_serializer.rb
active_record_survey_api-0.0.17 lib/active_record_survey_api/serializers/base_serializer.rb
active_record_survey_api-0.0.14 lib/active_record_survey_api/serializers/base_serializer.rb
active_record_survey_api-0.0.12 lib/active_record_survey_api/serializers/base_serializer.rb
active_record_survey_api-0.0.11 lib/active_record_survey_api/serializers/base_serializer.rb
active_record_survey_api-0.0.7 lib/active_record_survey_api/serializers/base_serializer.rb
active_record_survey_api-0.0.6 lib/active_record_survey_api/serializers/base_serializer.rb