Exception: ClashOfClansApi::NoSuccessError
- Inherits:
-
StandardError
- Object
- StandardError
- ClashOfClansApi::NoSuccessError
- Defined in:
- lib/clash_of_clans_api/no_success_error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ NoSuccessError
constructor
A new instance of NoSuccessError.
Constructor Details
#initialize(response) ⇒ NoSuccessError
Returns a new instance of NoSuccessError.
5 6 7 |
# File 'lib/clash_of_clans_api/no_success_error.rb', line 5 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
3 4 5 |
# File 'lib/clash_of_clans_api/no_success_error.rb', line 3 def response @response end |