Class: DingSDK::Shared::ErrorResponse

Inherits:
Utils::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/ding_sdk/models/shared/errorresponse.rb

Instance Method Summary collapse

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.



41
42
43
44
45
# File 'lib/ding_sdk/models/shared/errorresponse.rb', line 41

def initialize(code: nil, doc_url: nil, message: nil)
  @code = code
  @doc_url = doc_url
  @message = message
end