Class: Openai::Arguments
- Inherits:
-
Object
- Object
- Openai::Arguments
- Defined in:
- lib/openai/arguments.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#mapper ⇒ Object
Returns the value of attribute mapper.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(request_mapper, **params) ⇒ Arguments
constructor
A new instance of Arguments.
Constructor Details
#initialize(request_mapper, **params) ⇒ Arguments
Returns a new instance of Arguments.
7 8 9 10 11 |
# File 'lib/openai/arguments.rb', line 7 def initialize(request_mapper, **params) @mapper = request_mapper @params = params build_body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
5 6 7 |
# File 'lib/openai/arguments.rb', line 5 def body @body end |
#mapper ⇒ Object
Returns the value of attribute mapper.
5 6 7 |
# File 'lib/openai/arguments.rb', line 5 def mapper @mapper end |
#params ⇒ Object
Returns the value of attribute params.
5 6 7 |
# File 'lib/openai/arguments.rb', line 5 def params @params end |