Class: Mangadex::Artist

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

Instance Attribute Summary

Attributes included from Internal::WithAttributes

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

Instance Method Summary collapse

Methods inherited from MangadexObject

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

Constructor Details

This class inherits a constructor from Mangadex::MangadexObject

Instance Method Details

#artist?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/mangadex/artist.rb', line 28

def artist?
  true
end

#nameBoolean

Indicates if this is an artist

Returns:

  • (Boolean)

    whether this is an artist or not.



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/mangadex/artist.rb', line 9

has_attributes \
:name,
:image_url,
:biography,
:twitter,
:pixiv,
:melon_book,
:fan_box,
:booth,
:nico_video,
:skeb,
:fantia,
:tumblr,
:youtube,
:website,
:version,
:created_at,
:updated_at