Class: ServiceContract::AbstractEndpoint

Inherits:
Struct
  • Object
show all
Defined in:
lib/service_contract/abstract_endpoint.rb

Direct Known Subclasses

ServiceContract::Avro::Endpoint

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#definitionObject

Returns the value of attribute definition

Returns:

  • (Object)

    the current value of definition



2
3
4
# File 'lib/service_contract/abstract_endpoint.rb', line 2

def definition
  @definition
end

#protocolObject

Returns the value of attribute protocol

Returns:

  • (Object)

    the current value of protocol



2
3
4
# File 'lib/service_contract/abstract_endpoint.rb', line 2

def protocol
  @protocol
end

Instance Method Details

#parametersObject



3
4
5
# File 'lib/service_contract/abstract_endpoint.rb', line 3

def parameters
  []
end

#response_typeObject



7
8
9
# File 'lib/service_contract/abstract_endpoint.rb', line 7

def response_type
  nil
end