Class: Sink::Resources::Names::OpenAPISpecials

Inherits:
Object
  • Object
show all
Defined in:
lib/sink/resources/names/openapi_specials.rb

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ OpenAPISpecials

Returns a new instance of OpenAPISpecials.

Parameters:



8
9
10
# File 'lib/sink/resources/names/openapi_specials.rb', line 8

def initialize(client:)
  @client = client
end

Instance Method Details

#used_used_as_property_name(opts = {}) ⇒ Sink::Models::OpenAPISpecialUsedUsedAsPropertyNameResponse

Parameters:

  • opts (Hash, Sink::RequestOptions) (defaults to: {})

    Options to specify HTTP behaviour for this request.

Returns:



15
16
17
18
19
20
21
22
# File 'lib/sink/resources/names/openapi_specials.rb', line 15

def used_used_as_property_name(opts = {})
  req = {
    method: :get,
    path: "/names/openapi_specials/used_used_as_property_name",
    model: Sink::Models::OpenAPISpecialUsedUsedAsPropertyNameResponse
  }
  @client.request(req, opts)
end