Exception: MeetupApi::BaseException
- Inherits:
-
Exception
- Object
- Exception
- MeetupApi::BaseException
- Defined in:
- lib/meetup_api.rb
Overview
Base class for unexpected errors returned by the Client
Direct Known Subclasses
Instance Attribute Summary collapse
-
#problem ⇒ Object
readonly
Returns the value of attribute problem.
Instance Method Summary collapse
-
#initialize(e) ⇒ BaseException
constructor
A new instance of BaseException.
- #to_s ⇒ Object
Constructor Details
#initialize(e) ⇒ BaseException
Returns a new instance of BaseException.
167 168 169 |
# File 'lib/meetup_api.rb', line 167 def initialize(e) @problem = e end |
Instance Attribute Details
#problem ⇒ Object (readonly)
Returns the value of attribute problem.
165 166 167 |
# File 'lib/meetup_api.rb', line 165 def problem @problem end |
Instance Method Details
#to_s ⇒ Object
171 172 173 |
# File 'lib/meetup_api.rb', line 171 def to_s "#{self.problem}" end |