Sha256: 48e42d14e9c0c6e55f06c9579826f6deb1cfbd649635fe83b9aa871e66ff119d

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

#
# Autogenerated by Thrift Compiler (2.4.0-upfluence)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#

require 'thrift'

module Base
  class Hello; end

  class Hello
    include ::Thrift::Struct, ::Thrift::Struct_Union

    NAME = 'Hello'.freeze
    NAMESPACE = ''.freeze

    THRIFT_FIELD_INDEX_GREETING = 1

    FIELDS = {
      THRIFT_FIELD_INDEX_GREETING => {type: ::Thrift::Types::STRING, name: 'greeting', default: %q"hello world"}
    }

    def struct_fields; FIELDS; end

    def validate
    end

    ::Thrift::Struct.generate_accessors self
    ::Thrift.register_struct_type self
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
upfluence-thrift-2.4.4 spec/gen-rb/base/base_service_types.rb