Module: Hook0::Generated::RequestAttemptStatusType
- Defined in:
- lib/hook0/generated/models.rb
Overview
One of the values the API answers with.
Constant Summary collapse
- WAITING =
"waiting"- PENDING =
"pending"- IN_PROGRESS =
"in_progress"- SUCCESSFUL =
"successful"- FAILED =
"failed"- VALUES =
Every value the API declares for this list.
[ WAITING, PENDING, IN_PROGRESS, SUCCESSFUL, FAILED ].freeze
Class Method Summary collapse
-
.member?(value) ⇒ Boolean
Whether the API declares that value.
Class Method Details
.member?(value) ⇒ Boolean
Whether the API declares that value.
255 256 257 |
# File 'lib/hook0/generated/models.rb', line 255 def self.member?(value) VALUES.include?(value) end |