Class: Thanos::Client
- Inherits:
-
Object
- Object
- Thanos::Client
- Defined in:
- lib/thanos/client.rb
Instance Attribute Summary collapse
-
#characters ⇒ Object
readonly
Returns the value of attribute characters.
-
#comics ⇒ Object
readonly
Returns the value of attribute comics.
-
#creators ⇒ Object
readonly
Returns the value of attribute creators.
-
#events ⇒ Object
readonly
Returns the value of attribute events.
-
#series ⇒ Object
readonly
Returns the value of attribute series.
-
#stories ⇒ Object
readonly
Returns the value of attribute stories.
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize ⇒ Client
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
#characters ⇒ Object (readonly)
Returns the value of attribute characters.
10 11 12 |
# File 'lib/thanos/client.rb', line 10 def characters @characters end |
#comics ⇒ Object (readonly)
Returns the value of attribute comics.
10 11 12 |
# File 'lib/thanos/client.rb', line 10 def comics @comics end |
#creators ⇒ Object (readonly)
Returns the value of attribute creators.
10 11 12 |
# File 'lib/thanos/client.rb', line 10 def creators @creators end |
#events ⇒ Object (readonly)
Returns the value of attribute events.
10 11 12 |
# File 'lib/thanos/client.rb', line 10 def events @events end |
#series ⇒ Object (readonly)
Returns the value of attribute series.
10 11 12 |
# File 'lib/thanos/client.rb', line 10 def series @series end |
#stories ⇒ Object (readonly)
Returns the value of attribute stories.
10 11 12 |
# File 'lib/thanos/client.rb', line 10 def stories @stories end |