Class: Sink::Resources::Parent::Child
- Inherits:
-
Object
- Object
- Sink::Resources::Parent::Child
- Defined in:
- lib/sink/resources/parent/child.rb
Overview
Some children can be very large For example, the children of Godzilla
Instance Method Summary collapse
-
#initialize(client:) ⇒ Child
constructor
A new instance of Child.
-
#inlined_response(opts = {}) ⇒ Sink::Models::ChildInlinedResponseResponse
Method with inlined response model.
Constructor Details
#initialize(client:) ⇒ Child
Returns a new instance of Child.
10 11 12 |
# File 'lib/sink/resources/parent/child.rb', line 10 def initialize(client:) @client = client end |
Instance Method Details
#inlined_response(opts = {}) ⇒ Sink::Models::ChildInlinedResponseResponse
Method with inlined response model.
19 20 21 22 23 24 25 26 |
# File 'lib/sink/resources/parent/child.rb', line 19 def inlined_response(opts = {}) req = { method: :get, path: "/inlined_response", model: Sink::Models::ChildInlinedResponseResponse } @client.request(req, opts) end |