Class: Shipeasy::SDK::FlagsClient::FlagDetail

Inherits:
Struct
  • Object
show all
Defined in:
lib/shipeasy/sdk/flags_client.rb

Overview

Flag evaluation with the reason the value was reached. :value is the boolean result; :reason is one of the REASON_* constants below.

Instance Attribute Summary collapse

Instance Attribute Details

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



150
151
152
# File 'lib/shipeasy/sdk/flags_client.rb', line 150

def reason
  @reason
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



150
151
152
# File 'lib/shipeasy/sdk/flags_client.rb', line 150

def value
  @value
end