Class: Openlayer::Resources::Governance

Inherits:
Object
  • Object
show all
Defined in:
lib/openlayer/resources/governance.rb,
lib/openlayer/resources/governance/rules.rb,
lib/openlayer/resources/governance/rule_tags.rb,
lib/openlayer/resources/governance/frameworks.rb,
lib/openlayer/resources/governance/rule_stats.rb,
lib/openlayer/resources/governance/rule_results.rb,
lib/openlayer/resources/governance/frameworks/sections.rb,
lib/openlayer/resources/governance/frameworks/documents.rb,
lib/openlayer/resources/governance/frameworks/subsections.rb,
sig/openlayer/resources/governance.rbs,
sig/openlayer/resources/governance/rules.rbs,
sig/openlayer/resources/governance/rule_tags.rbs,
sig/openlayer/resources/governance/frameworks.rbs,
sig/openlayer/resources/governance/rule_stats.rbs,
sig/openlayer/resources/governance/rule_results.rbs,
sig/openlayer/resources/governance/frameworks/sections.rbs,
sig/openlayer/resources/governance/frameworks/documents.rbs,
sig/openlayer/resources/governance/frameworks/subsections.rbs

Defined Under Namespace

Classes: Frameworks, RuleResults, RuleStats, RuleTags, Rules

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Governance

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 Governance.

Parameters:



24
25
26
27
28
29
30
31
# File 'lib/openlayer/resources/governance.rb', line 24

def initialize(client:)
  @client = client
  @frameworks = Openlayer::Resources::Governance::Frameworks.new(client: client)
  @rules = Openlayer::Resources::Governance::Rules.new(client: client)
  @rule_results = Openlayer::Resources::Governance::RuleResults.new(client: client)
  @rule_stats = Openlayer::Resources::Governance::RuleStats.new(client: client)
  @rule_tags = Openlayer::Resources::Governance::RuleTags.new(client: client)
end

Instance Attribute Details

#frameworks ⇒ Openlayer::Resources::Governance::Frameworks (readonly)



7
8
9
# File 'lib/openlayer/resources/governance.rb', line 7

def frameworks
  @frameworks
end

#rule_results ⇒ Openlayer::Resources::Governance::RuleResults (readonly)



13
14
15
# File 'lib/openlayer/resources/governance.rb', line 13

def rule_results
  @rule_results
end

#rule_stats ⇒ Openlayer::Resources::Governance::RuleStats (readonly)



16
17
18
# File 'lib/openlayer/resources/governance.rb', line 16

def rule_stats
  @rule_stats
end

#rule_tags ⇒ Openlayer::Resources::Governance::RuleTags (readonly)



19
20
21
# File 'lib/openlayer/resources/governance.rb', line 19

def rule_tags
  @rule_tags
end

#rules ⇒ Openlayer::Resources::Governance::Rules (readonly)



10
11
12
# File 'lib/openlayer/resources/governance.rb', line 10

def rules
  @rules
end