Class: Whoosh::ClientGen::IR::Endpoint
- Inherits:
-
Struct
- Object
- Struct
- Whoosh::ClientGen::IR::Endpoint
- Defined in:
- lib/whoosh/client_gen/ir.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#method ⇒ Object
Returns the value of attribute method.
-
#pagination ⇒ Object
Returns the value of attribute pagination.
-
#path ⇒ Object
Returns the value of attribute path.
-
#request_schema ⇒ Object
Returns the value of attribute request_schema.
-
#response_schema ⇒ Object
Returns the value of attribute response_schema.
Instance Method Summary collapse
-
#initialize(method:, path:, action:, request_schema: nil, response_schema: nil, pagination: false) ⇒ Endpoint
constructor
A new instance of Endpoint.
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
#action ⇒ Object
Returns the value of attribute action
6 7 8 |
# File 'lib/whoosh/client_gen/ir.rb', line 6 def action @action end |
#method ⇒ Object
Returns the value of attribute method
6 7 8 |
# File 'lib/whoosh/client_gen/ir.rb', line 6 def method @method end |
#pagination ⇒ Object
Returns the value of attribute pagination
6 7 8 |
# File 'lib/whoosh/client_gen/ir.rb', line 6 def pagination @pagination end |
#path ⇒ Object
Returns the value of attribute path
6 7 8 |
# File 'lib/whoosh/client_gen/ir.rb', line 6 def path @path end |
#request_schema ⇒ Object
Returns the value of attribute request_schema
6 7 8 |
# File 'lib/whoosh/client_gen/ir.rb', line 6 def request_schema @request_schema end |
#response_schema ⇒ Object
Returns the value of attribute response_schema
6 7 8 |
# File 'lib/whoosh/client_gen/ir.rb', line 6 def response_schema @response_schema end |