Class: Marver::Client
- Inherits:
-
Object
- Object
- Marver::Client
- Defined in:
- lib/marver/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.
7 8 9 10 11 12 13 14 |
# File 'lib/marver/client.rb', line 7 def initialize @characters = Marver::CharacterFinder.new @series = Marver::SerieFinder.new @comics = Marver::ComicFinder.new @stories = Marver::StoryFinder.new @creators = Marver::CreatorFinder.new @events = Marver::EventFinder.new end |
Instance Attribute Details
#characters ⇒ Object (readonly)
Returns the value of attribute characters.
5 6 7 |
# File 'lib/marver/client.rb', line 5 def characters @characters end |
#comics ⇒ Object (readonly)
Returns the value of attribute comics.
5 6 7 |
# File 'lib/marver/client.rb', line 5 def comics @comics end |
#creators ⇒ Object (readonly)
Returns the value of attribute creators.
5 6 7 |
# File 'lib/marver/client.rb', line 5 def creators @creators end |
#events ⇒ Object (readonly)
Returns the value of attribute events.
5 6 7 |
# File 'lib/marver/client.rb', line 5 def events @events end |
#series ⇒ Object (readonly)
Returns the value of attribute series.
5 6 7 |
# File 'lib/marver/client.rb', line 5 def series @series end |
#stories ⇒ Object (readonly)
Returns the value of attribute stories.
5 6 7 |
# File 'lib/marver/client.rb', line 5 def stories @stories end |