Sha256: 5354f7d2b460914a966cc5b46177f17d43aab636687d41402aae3c14eb350d47

Contents?: true

Size: 693 Bytes

Versions: 39

Compression:

Stored size: 693 Bytes

Contents

# frozen_string_literal: true

# This file is autogenerated by Deimos, Do NOT modify
module Schemas; module MyNamespace
  ### Primary Schema Class ###
  # Autogenerated Schema for Record at com.my-namespace.MySchema_key
  class MySchemaKey < Deimos::SchemaClass::Record

    ### Attribute Accessors ###
    # @return [String]
    attr_accessor :test_id

    # @override
    def initialize(test_id: nil)
      super
      self.test_id = test_id
    end

    # @override
    def schema
      'MySchema_key'
    end

    # @override
    def namespace
      'com.my-namespace'
    end

    # @override
    def as_json(_opts={})
      {
        'test_id' => @test_id
      }
    end
  end
end; end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
deimos-ruby-1.19.7 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.6 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.5 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.4 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.3 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.2 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.1 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.1.pre.beta1 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.0 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.beta2 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.19.beta1 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.18.2 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.18.1 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.18.0 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.17.1 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.17.0 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.16.5 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.16.4 spec/schemas/my_namespace/my_schema_key.rb
deimos-ruby-1.16.3 spec/schemas/my_namespace/my_schema_key.rb