Sha256: ee2090b48d73fcef09f1834d2e74e44c253bd2d47e9c0f7f90187dada783c125

Contents?: true

Size: 548 Bytes

Versions: 2

Compression:

Stored size: 548 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 'other_namespace/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/namespaced_spec_namespace/thrift_namespaced_spec_types.rb
upfluence-thrift-1.1.0 spec/gen-rb/namespaced_spec_namespace/thrift_namespaced_spec_types.rb