Exception: ClashOfClansApi::Models::InvalidDataError
- Inherits:
-
StandardError
- Object
- StandardError
- ClashOfClansApi::Models::InvalidDataError
- Defined in:
- lib/clash_of_clans_api/models/invalid_data_error.rb
Instance Attribute Summary collapse
-
#data_hash ⇒ Object
readonly
Returns the value of attribute data_hash.
Instance Method Summary collapse
-
#initialize(message, data_hash = nil) ⇒ InvalidDataError
constructor
A new instance of InvalidDataError.
Constructor Details
#initialize(message, data_hash = nil) ⇒ InvalidDataError
Returns a new instance of InvalidDataError.
6 7 8 9 10 |
# File 'lib/clash_of_clans_api/models/invalid_data_error.rb', line 6 def initialize(, data_hash=nil) super() @data_hash = data_hash end |
Instance Attribute Details
#data_hash ⇒ Object (readonly)
Returns the value of attribute data_hash.
4 5 6 |
# File 'lib/clash_of_clans_api/models/invalid_data_error.rb', line 4 def data_hash @data_hash end |