Sha256: 04c5003ea33022a6bb4c7636f5570271356142cdebd82e3d80727aeb8fd58721

Contents?: true

Size: 433 Bytes

Versions: 11

Compression:

Stored size: 433 Bytes

Contents

module SocialNetworking
  module Serializers
    # Serializes Profile Answer models.
    class ProfileAnswerSerializer < Serializer
      def to_serialized
        {
          id: model.id,
          profile_id: model.social_networking_profile_id,
          profile_question_id: model.social_networking_profile_question_id,
          order: model.order,
          answer_text: model.answer_text
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
social_networking-0.11.8 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.11.7 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.11.6 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.11.5 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.11.4 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.11.3 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.11.2 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.11.1 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.11.0 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.10.0 app/models/social_networking/serializers/profile_answer_serializer.rb
social_networking-0.9.3 app/models/social_networking/serializers/profile_answer_serializer.rb