Class: Sink::Resources::Names::ReservedNames::Public::Class
- Inherits:
-
Object
- Object
- Sink::Resources::Names::ReservedNames::Public::Class
- Defined in:
- lib/sink/resources/names/reserved_names/public/class_.rb
Instance Method Summary collapse
- #class_(opts = {}) ⇒ Sink::Models::Class
-
#initialize(client:) ⇒ Class
constructor
A new instance of Class.
Constructor Details
#initialize(client:) ⇒ Class
Returns a new instance of Class.
10 11 12 |
# File 'lib/sink/resources/names/reserved_names/public/class_.rb', line 10 def initialize(client:) @client = client end |
Instance Method Details
#class_(opts = {}) ⇒ Sink::Models::Class
17 18 19 20 21 22 23 24 |
# File 'lib/sink/resources/names/reserved_names/public/class_.rb', line 17 def class_(opts = {}) req = { method: :get, path: "/names/reserved_names/public/class", model: Sink::Models::Class } @client.request(req, opts) end |