Class: Mangadex::Rating

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

Instance Attribute Summary

Attributes included from Internal::WithAttributes

#attributes, #id, #related_type, #relationships, #type

Class Method Summary collapse

Methods inherited from MangadexObject

attributes_to_inspect, #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

Class Method Details

.list(**args) ⇒ Object



9
10
11
12
13
14
15
16
17
# File 'lib/mangadex/rating.rb', line 9

def self.list(**args)
  Mangadex::Internal::Request.get(
    '/rating',
    Mangadex::Internal::Definition.validate(args, {
      manga: { accepts: Array[String] },
    }),
    auth: true,
  )
end