Sha256: 11d2528c2ba2ac73addb4494cb3a961f97369b8cfdea4caad6b7465c876be640

Contents?: true

Size: 728 Bytes

Versions: 5

Compression:

Stored size: 728 Bytes

Contents

# frozen_string_literal: true

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

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

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

    # @override
    def schema
      'Index'
    end

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deimos-ruby-2.0.0.pre.alpha2 spec/schemas/my_namespace/request/index.rb
deimos-ruby-2.0.0.pre.alpha1 spec/schemas/my_namespace/request/index.rb
deimos-ruby-1.24.2 spec/schemas/my_namespace/request/index.rb
deimos-ruby-1.24.1 spec/schemas/my_namespace/request/index.rb
deimos-ruby-1.24.0 spec/schemas/my_namespace/request/index.rb