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

Inherits:
Object
  • Object
show all
Defined in:
lib/ldclient-rb/interfaces.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.



945
946
947
# File 'lib/ldclient-rb/interfaces.rb', line 945

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



943
944
945
# File 'lib/ldclient-rb/interfaces.rb', line 943

def name
  @name
end