Class: CandyCheck::AppStore::VerificationFailure
- Inherits:
-
Struct
- Object
- Struct
- CandyCheck::AppStore::VerificationFailure
- Defined in:
- lib/candy_check/app_store/verification_failure.rb
Overview
Represents a failing call against the verification server
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Class Method Summary collapse
-
.fetch(code) ⇒ VerificationFailure
Gets a known failure or build an unknown failure without description.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
4 5 6 |
# File 'lib/candy_check/app_store/verification_failure.rb', line 4 def code @code end |
#message ⇒ Object
Returns the value of attribute message
4 5 6 |
# File 'lib/candy_check/app_store/verification_failure.rb', line 4 def end |
Class Method Details
.fetch(code) ⇒ VerificationFailure
Gets a known failure or build an unknown failure without description
15 16 17 18 19 |
# File 'lib/candy_check/app_store/verification_failure.rb', line 15 def fetch(code) known.fetch(code) do fallback(code) end end |