Class: OpenFga::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/openfga/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ Client

Returns a new instance of Client.



5
6
7
# File 'lib/openfga/client.rb', line 5

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#openfga_apiObject

Returns the value of attribute openfga_api.



3
4
5
# File 'lib/openfga/client.rb', line 3

def openfga_api
  @openfga_api
end