Sha256: 9aae476a3c9bff528334fb4bcd1e0c978a342f1d37a58d0a9324551c6d32205e

Contents?: true

Size: 533 Bytes

Versions: 24

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

require 'active_model'

module Quby
  module Questionnaires
    module Entities
      class Definition
        extend  ActiveModel::Naming
        include ActiveModel::Validations

        attr_accessor :key, :sourcecode, :json, :timestamp, :path

        def initialize(key:, path:, sourcecode: "", json: nil, timestamp: nil)
          @path = path
          @key = key
          @sourcecode = sourcecode
          @json = json
          @timestamp = timestamp
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
quby-5.6.5 lib/quby/questionnaires/entities/definition.rb
quby-5.6.3 lib/quby/questionnaires/entities/definition.rb
quby-5.6.2 lib/quby/questionnaires/entities/definition.rb
quby-5.6.1 lib/quby/questionnaires/entities/definition.rb
quby-5.6.0 lib/quby/questionnaires/entities/definition.rb
quby-5.5.0 lib/quby/questionnaires/entities/definition.rb
quby-5.4.0 lib/quby/questionnaires/entities/definition.rb
quby-5.3.1 lib/quby/questionnaires/entities/definition.rb
quby-5.3.0 lib/quby/questionnaires/entities/definition.rb
quby-5.2.0 lib/quby/questionnaires/entities/definition.rb
quby-5.1.3 lib/quby/questionnaires/entities/definition.rb
quby-5.1.2 lib/quby/questionnaires/entities/definition.rb
quby-5.1.1 lib/quby/questionnaires/entities/definition.rb
quby-5.1.0 lib/quby/questionnaires/entities/definition.rb
quby-5.0.5 lib/quby/questionnaires/entities/definition.rb
quby-5.0.4 lib/quby/questionnaires/entities/definition.rb
quby-5.0.3 lib/quby/questionnaires/entities/definition.rb
quby-5.0.2 lib/quby/questionnaires/entities/definition.rb
quby-5.0.1 lib/quby/questionnaires/entities/definition.rb
quby-5.0.0 lib/quby/questionnaires/entities/definition.rb