Sha256: f41451cf1df74786db7e5a8d956ad9d9039e030d5af1aab8d0113bac4b444dd1

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 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'
require 'referenced_types'


module NamespacedSpecNamespace
  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/flat/thrift_namespaced_spec_types.rb
upfluence-thrift-1.1.0 spec/gen-rb/flat/thrift_namespaced_spec_types.rb