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

Methods included from Concern

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

Constructor Details

This class inherits a constructor from Mangadex::MangadexObject

Instance Method Details

#artist?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/mangadex/artist.rb', line 30

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
27
28
# 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,
:weibo,
:naver,
:website,
:version,
:created_at,
:updated_at