Class: Flipt::ErrorEvaluationResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/flipt_client/models.rb

Overview

ErrorEvaluationResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flag_key:, namespace_key:, reason:, error_message:) ⇒ ErrorEvaluationResponse

Returns a new instance of ErrorEvaluationResponse.



194
195
196
197
198
199
# File 'lib/flipt_client/models.rb', line 194

def initialize(flag_key:, namespace_key:, reason:, error_message:)
  @flag_key = flag_key
  @namespace_key = namespace_key
  @reason = reason
  @error_message = error_message
end

Instance Attribute Details

#error_messageString (readonly)

Returns the current value of error_message.

Returns:

  • (String)

    the current value of error_message



191
192
193
# File 'lib/flipt_client/models.rb', line 191

def error_message
  @error_message
end

#flag_keyString (readonly)

Returns the current value of flag_key.

Returns:

  • (String)

    the current value of flag_key



191
192
193
# File 'lib/flipt_client/models.rb', line 191

def flag_key
  @flag_key
end

#namespace_keyString (readonly)

Returns the current value of namespace_key.

Returns:

  • (String)

    the current value of namespace_key



191
192
193
# File 'lib/flipt_client/models.rb', line 191

def namespace_key
  @namespace_key
end

#reasonString (readonly)

Returns the current value of reason.

Returns:

  • (String)

    the current value of reason



191
192
193
# File 'lib/flipt_client/models.rb', line 191

def reason
  @reason
end