Module: Tacokit::Client::Types

Included in:
Tacokit::Client
Defined in:
lib/tacokit/client/types.rb

Overview

Methods for the Types API

Instance Method Summary collapse

Instance Method Details

#type(model_id) ⇒ Object

Get a resource type for a given identifier

Parameters:

  • model_id (String)

    the resource identifier

See Also:


9
10
11
# File 'lib/tacokit/client/types.rb', line 9

def type(model_id)
  get resource_path "types", model_id
end