Class: E621ExportDownloader::Client::Options::Builder::Parsers

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/e621_export_downloader/client/options/builder/parsers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(defaults = Options::Parsers.defaults) ⇒ Parsers

Returns a new instance of Parsers.



42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 42

def initialize(defaults = Options::Parsers.defaults)
  @artists              = T.let(T.must(defaults.artists), Parser)
  @bulk_update_requests = T.let(T.must(defaults.bulk_update_requests), Parser)
  @pools                = T.let(T.must(defaults.pools), Parser)
  @posts                = T.let(T.must(defaults.posts), Parser)
  @post_replacements    = T.let(T.must(defaults.post_replacements), Parser)
  @post_versions        = T.let(T.must(defaults.post_versions), Parser)
  @tag_aliases          = T.let(T.must(defaults.tag_aliases), Parser)
  @tag_implications     = T.let(T.must(defaults.tag_implications), Parser)
  @tags                 = T.let(T.must(defaults.tags), Parser)
  @wiki_pages           = T.let(T.must(defaults.wiki_pages), Parser)
end

Instance Attribute Details

#artistsObject

Returns the value of attribute artists.



12
13
14
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 12

def artists
  @artists
end

#bulk_update_requestsObject

Returns the value of attribute bulk_update_requests.



15
16
17
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 15

def bulk_update_requests
  @bulk_update_requests
end

#poolsObject

Returns the value of attribute pools.



18
19
20
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 18

def pools
  @pools
end

#post_replacementsObject

Returns the value of attribute post_replacements.



24
25
26
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 24

def post_replacements
  @post_replacements
end

#post_versionsObject

Returns the value of attribute post_versions.



27
28
29
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 27

def post_versions
  @post_versions
end

#postsObject

Returns the value of attribute posts.



21
22
23
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 21

def posts
  @posts
end

#tag_aliasesObject

Returns the value of attribute tag_aliases.



30
31
32
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 30

def tag_aliases
  @tag_aliases
end

#tag_implicationsObject

Returns the value of attribute tag_implications.



33
34
35
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 33

def tag_implications
  @tag_implications
end

#tagsObject

Returns the value of attribute tags.



36
37
38
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 36

def tags
  @tags
end

#wiki_pagesObject

Returns the value of attribute wiki_pages.



39
40
41
# File 'lib/e621_export_downloader/client/options/builder/parsers.rb', line 39

def wiki_pages
  @wiki_pages
end