Class: Sink::Resources::Types::Maps
- Inherits:
-
Object
- Object
- Sink::Resources::Types::Maps
- Defined in:
- lib/sink/resources/types/maps.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ Maps
constructor
A new instance of Maps.
-
#nullable_items(opts = {}) ⇒ Sink::Models::MapNullableItemsResponse
Endpoint with a response schema object that contains properties that use ‘additionalProperties` with a nullable items type.
Constructor Details
#initialize(client:) ⇒ Maps
Returns a new instance of Maps.
8 9 10 |
# File 'lib/sink/resources/types/maps.rb', line 8 def initialize(client:) @client = client end |
Instance Method Details
#nullable_items(opts = {}) ⇒ Sink::Models::MapNullableItemsResponse
Endpoint with a response schema object that contains properties that use
`additionalProperties` with a nullable items type.
18 19 20 21 22 23 24 25 |
# File 'lib/sink/resources/types/maps.rb', line 18 def nullable_items(opts = {}) req = { method: :get, path: "/types/map/nullable_items", model: Sink::Models::MapNullableItemsResponse } @client.request(req, opts) end |