Class: LaunchDarkly::Interfaces::Hooks::Metadata
- Inherits:
-
Object
- Object
- LaunchDarkly::Interfaces::Hooks::Metadata
- Defined in:
- lib/ldclient-rb/interfaces/hooks.rb
Overview
Metadata data class used for annotating hook implementations.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize(name) ⇒ Metadata
Returns a new instance of Metadata.
59 60 61 |
# File 'lib/ldclient-rb/interfaces/hooks.rb', line 59 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
57 58 59 |
# File 'lib/ldclient-rb/interfaces/hooks.rb', line 57 def name @name end |