Sha256: a7c83e6548d02a2f0b3bbbd51572872429714bfcd4091c0aebbdf229630ab2ed

Contents?: true

Size: 872 Bytes

Versions: 41

Compression:

Stored size: 872 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.MySchemaCompound_key
  class MySchemaCompoundKey < Deimos::SchemaClass::Record

    ### Attribute Accessors ###
    # @return [String]
    attr_accessor :part_one
    # @return [String]
    attr_accessor :part_two

    # @override
    def initialize(part_one: nil,
                   part_two: nil)
      super
      self.part_one = part_one
      self.part_two = part_two
    end

    # @override
    def schema
      'MySchemaCompound_key'
    end

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

    # @override
    def as_json(_opts={})
      {
        'part_one' => @part_one,
        'part_two' => @part_two
      }
    end
  end
end; end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
deimos-ruby-2.0.0.pre.alpha2 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-2.0.0.pre.alpha1 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.24.2 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.24.1 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.24.0 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.3 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.2 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.1.pre.beta6 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.1.pre.beta5 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.1.pre.beta4 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.1.pre.beta3 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.1.pre.beta2 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.1.pre.beta1 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.23.0 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.22.5 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.22.4 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.22.3 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.22.2 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.22.1 spec/schemas/my_namespace/my_schema_compound_key.rb
deimos-ruby-1.22 spec/schemas/my_namespace/my_schema_compound_key.rb