class PokeApi::Common::VersionGameIndex
VersionGameIndex
object handling lists of version_details relating to game_index
and version
Attributes
game_index[R]
version[R]
Public Class Methods
new(data)
click to toggle source
# File lib/poke_api/common/version_game_index.rb, line 9 def initialize(data) @game_index = data[:game_index] @version = PokeApi::Version.new(data[:version]) end