Class: Anthropic::Resources::Beta::Organization::Federation

Inherits:
Object
  • Object
show all
Defined in:
lib/anthropic/resources/beta/organization/federation.rb,
lib/anthropic/resources/beta/organization/federation/rules.rb,
lib/anthropic/resources/beta/organization/federation/issuers.rb,
lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb,
sig/anthropic/resources/beta/organization/federation.rbs,
sig/anthropic/resources/beta/organization/federation/rules.rbs,
sig/anthropic/resources/beta/organization/federation/issuers.rbs,
sig/anthropic/resources/beta/organization/federation/rules/workspaces.rbs

Defined Under Namespace

Classes: Issuers, Rules

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Federation

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Federation.

Parameters:



17
18
19
20
21
# File 'lib/anthropic/resources/beta/organization/federation.rb', line 17

def initialize(client:)
  @client = client
  @issuers = Anthropic::Resources::Beta::Organization::Federation::Issuers.new(client: client)
  @rules = Anthropic::Resources::Beta::Organization::Federation::Rules.new(client: client)
end

Instance Attribute Details

#issuersAnthropic::Resources::Beta::Organization::Federation::Issuers (readonly)



9
10
11
# File 'lib/anthropic/resources/beta/organization/federation.rb', line 9

def issuers
  @issuers
end

#rulesAnthropic::Resources::Beta::Organization::Federation::Rules (readonly)



12
13
14
# File 'lib/anthropic/resources/beta/organization/federation.rb', line 12

def rules
  @rules
end