Class: Sink::Resources::Names::ReservedNames::Public::Interface

Inherits:
Object
  • Object
show all
Defined in:
lib/sink/resources/names/reserved_names/public/interface.rb

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Interface

Returns a new instance of Interface.

Parameters:



10
11
12
# File 'lib/sink/resources/names/reserved_names/public/interface.rb', line 10

def initialize(client:)
  @client = client
end

Instance Method Details

#interface(opts = {}) ⇒ Sink::Models::Interface

Parameters:

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

    Options to specify HTTP behaviour for this request.

Returns:



17
18
19
20
21
22
23
24
# File 'lib/sink/resources/names/reserved_names/public/interface.rb', line 17

def interface(opts = {})
  req = {
    method: :get,
    path: "/names/reserved_names/public/interface",
    model: Sink::Models::Interface
  }
  @client.request(req, opts)
end