Class: Marver::Client

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeClient

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

#charactersObject (readonly)

Returns the value of attribute characters.



5
6
7
# File 'lib/marver/client.rb', line 5

def characters
  @characters
end

#comicsObject (readonly)

Returns the value of attribute comics.



5
6
7
# File 'lib/marver/client.rb', line 5

def comics
  @comics
end

#creatorsObject (readonly)

Returns the value of attribute creators.



5
6
7
# File 'lib/marver/client.rb', line 5

def creators
  @creators
end

#eventsObject (readonly)

Returns the value of attribute events.



5
6
7
# File 'lib/marver/client.rb', line 5

def events
  @events
end

#seriesObject (readonly)

Returns the value of attribute series.



5
6
7
# File 'lib/marver/client.rb', line 5

def series
  @series
end

#storiesObject (readonly)

Returns the value of attribute stories.



5
6
7
# File 'lib/marver/client.rb', line 5

def stories
  @stories
end