Class: Hitch::ClientIdMetadata::Diagnosis

Inherits:
Struct
  • Object
show all
Defined in:
app/models/hitch/client_id_metadata.rb

Overview

Result of a diagnostic fetch. Separate from Document deliberately: this is operator-facing and describes an attempt, not a client.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



64
65
66
# File 'app/models/hitch/client_id_metadata.rb', line 64

def detail
  @detail
end

#outcomeObject

Returns the value of attribute outcome

Returns:

  • (Object)

    the current value of outcome



64
65
66
# File 'app/models/hitch/client_id_metadata.rb', line 64

def outcome
  @outcome
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


65
# File 'app/models/hitch/client_id_metadata.rb', line 65

def ok? = outcome == :ok