Class: Thrift::ServiceDefinition
Instance Attribute Summary
#klass
Instance Method Summary
collapse
#canonical_names, #initialize, #legacy_annotations, #namespace, #struct_type, #structured_annotations
Instance Method Details
#client_class ⇒ Object
49
50
51
|
# File 'lib/thrift/definition.rb', line 49
def client_class
@klass::Client
end
|
#name ⇒ Object
57
58
59
|
# File 'lib/thrift/definition.rb', line 57
def name
service
end
|
#processor_class ⇒ Object
53
54
55
|
# File 'lib/thrift/definition.rb', line 53
def processor_class
@klass::Processor
end
|
#service ⇒ Object
61
62
63
|
# File 'lib/thrift/definition.rb', line 61
def service
@klass::SERVICE
end
|
#service_type ⇒ Object
65
66
67
|
# File 'lib/thrift/definition.rb', line 65
def service_type
"#{namespace}.#{service}"
end
|