Class: ConsulTokenPolicyLink
- Inherits:
-
Object
- Object
- ConsulTokenPolicyLink
- Defined in:
- lib/puppet/provider/consul_token/default.rb
Instance Attribute Summary collapse
-
#policy_id ⇒ Object
readonly
Returns the value of attribute policy_id.
-
#policy_name ⇒ Object
readonly
Returns the value of attribute policy_name.
Instance Method Summary collapse
-
#initialize(policy_id, policy_name) ⇒ ConsulTokenPolicyLink
constructor
A new instance of ConsulTokenPolicyLink.
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_id ⇒ Object (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_name ⇒ Object (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 |