Exception: Strava::AccessError
- Defined in:
- lib/strava/error.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(response) ⇒ AccessError
constructor
A new instance of AccessError.
Constructor Details
#initialize(response) ⇒ AccessError
Returns a new instance of AccessError.
9 10 11 12 13 |
# File 'lib/strava/error.rb', line 9 def initialize(response) = response['message'] strava_errors = response['errors'] super() end |