Class: DingSDK::Shared::ErrorResponse
- Inherits:
-
Utils::FieldAugmented
- Object
- Utils::FieldAugmented
- DingSDK::Shared::ErrorResponse
- Extended by:
- T::Sig
- Defined in:
- lib/ding_sdk/models/shared/errorresponse.rb
Instance Method Summary collapse
-
#initialize(code: nil, doc_url: nil, message: nil) ⇒ ErrorResponse
constructor
A new instance of ErrorResponse.
Methods included from MetadataFields
#field, #fields, included, #marshal_json, #marshal_single
Constructor Details
#initialize(code: nil, doc_url: nil, message: nil) ⇒ ErrorResponse
Returns a new instance of ErrorResponse.
38 39 40 41 42 |
# File 'lib/ding_sdk/models/shared/errorresponse.rb', line 38 def initialize(code: nil, doc_url: nil, message: nil) @code = code @doc_url = doc_url @message = end |