Class: Thanos::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/thanos/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeClient

Returns a new instance of Client.



12
13
14
15
16
17
18
19
# File 'lib/thanos/client.rb', line 12

def initialize
  @characters = Thanos::CharacterFinder.new
  @series = Thanos::SeriesFinder.new
  @events = Thanos::EventFinder.new
  @comics = Thanos::ComicFinder.new
  @stories = Thanos::StoryFinder.new
  @creators = Thanos::CreatorFinder.new
end

Instance Attribute Details

#charactersObject (readonly)

Returns the value of attribute characters.



10
11
12
# File 'lib/thanos/client.rb', line 10

def characters
  @characters
end

#comicsObject (readonly)

Returns the value of attribute comics.



10
11
12
# File 'lib/thanos/client.rb', line 10

def comics
  @comics
end

#creatorsObject (readonly)

Returns the value of attribute creators.



10
11
12
# File 'lib/thanos/client.rb', line 10

def creators
  @creators
end

#eventsObject (readonly)

Returns the value of attribute events.



10
11
12
# File 'lib/thanos/client.rb', line 10

def events
  @events
end

#seriesObject (readonly)

Returns the value of attribute series.



10
11
12
# File 'lib/thanos/client.rb', line 10

def series
  @series
end

#storiesObject (readonly)

Returns the value of attribute stories.



10
11
12
# File 'lib/thanos/client.rb', line 10

def stories
  @stories
end