Sha256: e8e9e3251da40cb6cf7a3d5da9655d25571a60056aee2b01cb5c59b2f5b04437

Contents?: true

Size: 369 Bytes

Versions: 14

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

require 'active_model'

module PiResources
  module Serializer
    class ValidationResponse
      include ActiveModel::Model
      include ActiveModel::Attributes
      include ActiveModel::Serialization

      attribute :id, type: :string
      attribute :status, type: :integer
      attribute :message, type: :string
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
pi-resources-rails-0.6.3 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.6.2 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.6.1 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.6.0 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.5.0 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.4.4 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.4.3 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.4.2 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.4.1 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.4.0 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.3.0 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.2.0 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.1.1 lib/pi_resources/serializer/validation_response.rb
pi-resources-rails-0.1.0 lib/pi_resources/serializer/validation_response.rb