Class: ConsulTokenPolicyLink

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/provider/consul_token/default.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policy_id, policy_name) ⇒ ConsulTokenPolicyLink

Returns a new instance of ConsulTokenPolicyLink.



119
120
121
122
# File 'lib/puppet/provider/consul_token/default.rb', line 119

def initialize(policy_id, policy_name)
  @policy_id = policy_id
  @policy_name = policy_name
end

Instance Attribute Details

#policy_idObject (readonly)

Returns the value of attribute policy_id.



117
118
119
# File 'lib/puppet/provider/consul_token/default.rb', line 117

def policy_id
  @policy_id
end

#policy_nameObject (readonly)

Returns the value of attribute policy_name.



117
118
119
# File 'lib/puppet/provider/consul_token/default.rb', line 117

def policy_name
  @policy_name
end