Class: LaunchDarkly::Interfaces::Hooks::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/ldclient-rb/interfaces/hooks.rb

Overview

Metadata data class used for annotating hook implementations.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



57
58
59
# File 'lib/ldclient-rb/interfaces/hooks.rb', line 57

def name
  @name
end