Sha256: 3d2a9e4e9c144b2a13c31e0507b1288f5dc19f886ad5aa883a611cfbfc146041

Contents?: true

Size: 273 Bytes

Versions: 17

Compression:

Stored size: 273 Bytes

Contents

module Rao
  module Api
    module ServiceController::SerializationConcern
      extend ActiveSupport::Concern

      private

      def serialize_result(result)
        result.as_json
      end

      def serialize_errors(errors)
        errors
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rao-api-service_controller-0.0.24.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.23.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.22.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.21.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.20.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.19.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.18.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.17.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.16.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.15.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.14.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.13.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.12.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.11.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.10.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.9.pre app/concerns/rao/api/service_controller/serialization_concern.rb
rao-api-service_controller-0.0.8.pre app/concerns/rao/api/service_controller/serialization_concern.rb