Class: Whoosh::ClientGen::IR::Endpoint

Inherits:
Struct
  • Object
show all
Defined in:
lib/whoosh/client_gen/ir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method:, path:, action:, request_schema: nil, response_schema: nil, pagination: false) ⇒ Endpoint

Returns a new instance of Endpoint.



7
8
9
# File 'lib/whoosh/client_gen/ir.rb', line 7

def initialize(method:, path:, action:, request_schema: nil, response_schema: nil, pagination: false)
  super
end

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



6
7
8
# File 'lib/whoosh/client_gen/ir.rb', line 6

def action
  @action
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



6
7
8
# File 'lib/whoosh/client_gen/ir.rb', line 6

def method
  @method
end

#paginationObject

Returns the value of attribute pagination

Returns:

  • (Object)

    the current value of pagination



6
7
8
# File 'lib/whoosh/client_gen/ir.rb', line 6

def pagination
  @pagination
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'lib/whoosh/client_gen/ir.rb', line 6

def path
  @path
end

#request_schemaObject

Returns the value of attribute request_schema

Returns:

  • (Object)

    the current value of request_schema



6
7
8
# File 'lib/whoosh/client_gen/ir.rb', line 6

def request_schema
  @request_schema
end

#response_schemaObject

Returns the value of attribute response_schema

Returns:

  • (Object)

    the current value of response_schema



6
7
8
# File 'lib/whoosh/client_gen/ir.rb', line 6

def response_schema
  @response_schema
end