Sha256: 373179603b01df4f4edec2fd43be0c154311727964af07cb36f4327c34d32824

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

module Inferno
  module Web
    module Serializers
      class SuiteOption < Serializer
        identifier :id
        field :title, if: :field_present?
        field :description, if: :field_present?
        field :list_options, if: :field_present?
        field :value, if: :field_present?
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
inferno_core-0.3.12 lib/inferno/apps/web/serializers/suite_option.rb
inferno_core-0.3.11 lib/inferno/apps/web/serializers/suite_option.rb
inferno_core-0.3.10 lib/inferno/apps/web/serializers/suite_option.rb
inferno_core-0.3.9 lib/inferno/apps/web/serializers/suite_option.rb
inferno_core-0.3.8 lib/inferno/apps/web/serializers/suite_option.rb
inferno_core-0.3.7 lib/inferno/apps/web/serializers/suite_option.rb
inferno_core-0.3.6 lib/inferno/apps/web/serializers/suite_option.rb
inferno_core-0.3.5 lib/inferno/apps/web/serializers/suite_option.rb