Class: Mangadex::Api::Response::Error

Inherits:
MangadexObject show all
Defined in:
lib/mangadex/api/response.rb

Instance Attribute Summary collapse

Attributes included from Internal::WithAttributes

#attributes, #related_type, #relationships, #type

Class Method Summary collapse

Methods inherited from MangadexObject

#eq?, #hash, #initialize, #inspect

Methods included from Concern

#append_features, #class_methods, extended, #included, #prepend_features, #prepended

Constructor Details

This class inherits a constructor from Mangadex::MangadexObject

Instance Attribute Details

#detailObject

Returns the value of attribute detail.



17
18
19
# File 'lib/mangadex/api/response.rb', line 17

def detail
  @detail
end

#idObject

Returns the value of attribute id.



17
18
19
# File 'lib/mangadex/api/response.rb', line 17

def id
  @id
end

#statusObject

Returns the value of attribute status.



17
18
19
# File 'lib/mangadex/api/response.rb', line 17

def status
  @status
end

#titleObject

Returns the value of attribute title.



17
18
19
# File 'lib/mangadex/api/response.rb', line 17

def title
  @title
end

Class Method Details

.attributes_to_inspectObject



19
20
21
# File 'lib/mangadex/api/response.rb', line 19

def self.attributes_to_inspect
  %i(id status title detail)
end