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, #relationships, #type

Class Method Summary collapse

Methods inherited from MangadexObject

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

Constructor Details

This class inherits a constructor from Mangadex::MangadexObject

Instance Attribute Details

#detailObject

Returns the value of attribute detail.



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

def detail
  @detail
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

Class Method Details

.attributes_to_inspectObject



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

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