Sha256: 6125b46d36d6694c40932e69a3e11f75b6d4d7176109a7e25437024187728cc4

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

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

require 'thrift'

module Base
  class Hello
    include ::Thrift::Struct, ::Thrift::Struct_Union
    GREETING = 1

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

    def struct_fields; FIELDS; end

    def validate
    end

    ::Thrift::Struct.generate_accessors self
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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