Sha256: 086113c61c027bbebc3c08f6672e78009c446cfa4a32680e25bf0290833610eb

Contents?: true

Size: 183 Bytes

Versions: 8

Compression:

Stored size: 183 Bytes

Contents

module ActiveRecordSurveyApi
	class NodeMapSerializer < BaseSerializer
		attribute :node_id
		attribute :parent_id

		def node_id
			object.active_record_survey_node_id
		end
	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/node_map_serializer.rb
active_record_survey_api-0.0.18 lib/active_record_survey_api/serializers/node_map_serializer.rb
active_record_survey_api-0.0.17 lib/active_record_survey_api/serializers/node_map_serializer.rb
active_record_survey_api-0.0.14 lib/active_record_survey_api/serializers/node_map_serializer.rb
active_record_survey_api-0.0.12 lib/active_record_survey_api/serializers/node_map_serializer.rb
active_record_survey_api-0.0.11 lib/active_record_survey_api/serializers/node_map_serializer.rb
active_record_survey_api-0.0.7 lib/active_record_survey_api/serializers/node_map_serializer.rb
active_record_survey_api-0.0.6 lib/active_record_survey_api/serializers/node_map_serializer.rb