Exception: Looks::Gravatar::UnknownError
- Defined in:
- lib/looks/gravatar/errors.rb
Instance Method Summary collapse
-
#initialize(fault_code) ⇒ UnknownError
constructor
A new instance of UnknownError.
- #to_s ⇒ Object
Constructor Details
#initialize(fault_code) ⇒ UnknownError
Returns a new instance of UnknownError.
22 23 24 |
# File 'lib/looks/gravatar/errors.rb', line 22 def initialize(fault_code) @fault_code = fault_code end |
Instance Method Details
#to_s ⇒ Object
26 27 28 |
# File 'lib/looks/gravatar/errors.rb', line 26 def to_s "Unknown error (#{@fault_code})" end |