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.



37
38
39
40
41
# File 'lib/ding_sdk/models/shared/errorresponse.rb', line 37

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