pokeapi_client 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +93 -24
- data/README.md +418 -110
- data/bin/byebug +1 -12
- data/bin/coderay +1 -12
- data/bin/htmldiff +1 -12
- data/bin/ldiff +1 -12
- data/bin/pry +1 -12
- data/bin/racc +1 -12
- data/bin/rake +1 -12
- data/bin/rspec +1 -12
- data/bin/rubocop +1 -12
- data/bin/ruby-parse +1 -12
- data/bin/ruby-rewrite +1 -12
- data/docs/AbilityChange.md +20 -0
- data/docs/AbilityChangeEffectText.md +20 -0
- data/docs/AbilityDetail.md +34 -0
- data/docs/AbilityDetailPokemonInner.md +22 -0
- data/docs/AbilityDetailPokemonInnerPokemon.md +20 -0
- data/docs/AbilityEffectText.md +22 -0
- data/docs/AbilityFlavorText.md +22 -0
- data/docs/AbilityName.md +20 -0
- data/docs/AbilitySummary.md +20 -0
- data/docs/BerriesApi.md +481 -0
- data/docs/BerryDetail.md +40 -0
- data/docs/BerryDetailFlavorsInner.md +20 -0
- data/docs/BerryDetailFlavorsInnerFlavor.md +20 -0
- data/docs/BerryFirmnessDetail.md +24 -0
- data/docs/BerryFirmnessName.md +20 -0
- data/docs/BerryFirmnessSummary.md +20 -0
- data/docs/BerryFlavorDetail.md +26 -0
- data/docs/BerryFlavorDetailBerriesInner.md +20 -0
- data/docs/BerryFlavorDetailBerriesInnerBerry.md +20 -0
- data/docs/BerryFlavorName.md +20 -0
- data/docs/BerryFlavorSummary.md +20 -0
- data/docs/BerrySummary.md +20 -0
- data/docs/CharacteristicDescription.md +20 -0
- data/docs/CharacteristicDetail.md +26 -0
- data/docs/CharacteristicSummary.md +18 -0
- data/docs/ContestEffectDetail.md +26 -0
- data/docs/ContestEffectEffectText.md +20 -0
- data/docs/ContestEffectFlavorText.md +20 -0
- data/docs/ContestEffectSummary.md +18 -0
- data/docs/ContestTypeDetail.md +24 -0
- data/docs/ContestTypeName.md +22 -0
- data/docs/ContestTypeSummary.md +20 -0
- data/docs/ContestsApi.md +481 -0
- data/docs/EggGroupDetail.md +24 -0
- data/docs/EggGroupDetailPokemonSpeciesInner.md +20 -0
- data/docs/EggGroupName.md +20 -0
- data/docs/EggGroupSummary.md +20 -0
- data/docs/EncounterConditionDetail.md +24 -0
- data/docs/EncounterConditionName.md +20 -0
- data/docs/EncounterConditionSummary.md +20 -0
- data/docs/EncounterConditionValueDetail.md +24 -0
- data/docs/EncounterConditionValueName.md +20 -0
- data/docs/EncounterConditionValueSummary.md +20 -0
- data/docs/EncounterMethodDetail.md +24 -0
- data/docs/EncounterMethodName.md +20 -0
- data/docs/EncounterMethodSummary.md +20 -0
- data/docs/EncountersApi.md +481 -0
- data/docs/EvolutionApi.md +323 -0
- data/docs/EvolutionChainDetail.md +22 -0
- data/docs/EvolutionChainDetailChain.md +24 -0
- data/docs/EvolutionChainDetailChainEvolvesToInner.md +22 -0
- data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInner.md +52 -0
- data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInnerGender.md +20 -0
- data/docs/EvolutionChainSummary.md +18 -0
- data/docs/EvolutionTriggerDetail.md +24 -0
- data/docs/EvolutionTriggerName.md +20 -0
- data/docs/EvolutionTriggerSummary.md +20 -0
- data/docs/Experience.md +20 -0
- data/docs/GamesApi.md +639 -0
- data/docs/GenderDetail.md +24 -0
- data/docs/GenderDetailPokemonSpeciesDetailsInner.md +20 -0
- data/docs/GenderSummary.md +20 -0
- data/docs/GenerationDetail.md +34 -0
- data/docs/GenerationName.md +20 -0
- data/docs/GenerationSummary.md +20 -0
- data/docs/GrowthRateDescription.md +20 -0
- data/docs/GrowthRateDetail.md +28 -0
- data/docs/GrowthRateSummary.md +20 -0
- data/docs/ItemAttributeDescription.md +20 -0
- data/docs/ItemAttributeDetail.md +26 -0
- data/docs/ItemAttributeName.md +20 -0
- data/docs/ItemAttributeSummary.md +20 -0
- data/docs/ItemCategoryDetail.md +26 -0
- data/docs/ItemCategoryName.md +20 -0
- data/docs/ItemCategorySummary.md +20 -0
- data/docs/ItemDetail.md +46 -0
- data/docs/ItemDetailBabyTriggerFor.md +18 -0
- data/docs/ItemDetailHeldByPokemonInner.md +20 -0
- data/docs/ItemDetailHeldByPokemonInnerVersionDetailsInner.md +20 -0
- data/docs/ItemDetailMachinesInner.md +20 -0
- data/docs/ItemDetailSprites.md +18 -0
- data/docs/ItemEffectText.md +22 -0
- data/docs/ItemFlavorText.md +22 -0
- data/docs/ItemFlingEffectDetail.md +24 -0
- data/docs/ItemFlingEffectEffectText.md +20 -0
- data/docs/ItemFlingEffectSummary.md +20 -0
- data/docs/ItemGameIndex.md +20 -0
- data/docs/ItemName.md +20 -0
- data/docs/ItemPocketDetail.md +24 -0
- data/docs/ItemPocketName.md +20 -0
- data/docs/ItemPocketSummary.md +20 -0
- data/docs/ItemSummary.md +20 -0
- data/docs/ItemsApi.md +797 -0
- data/docs/LanguageDetail.md +28 -0
- data/docs/LanguageName.md +20 -0
- data/docs/LanguageSummary.md +20 -0
- data/docs/LocationApi.md +530 -30
- data/docs/LocationAreaDetail.md +30 -0
- data/docs/LocationAreaDetailEncounterMethodRatesInner.md +20 -0
- data/docs/LocationAreaDetailEncounterMethodRatesInnerVersionDetailsInner.md +20 -0
- data/docs/LocationAreaDetailPokemonEncountersInner.md +20 -0
- data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInner.md +22 -0
- data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInnerEncounterDetails.md +26 -0
- data/docs/LocationAreaName.md +20 -0
- data/docs/LocationAreaSummary.md +20 -0
- data/docs/LocationDetail.md +28 -0
- data/docs/LocationGameIndex.md +20 -0
- data/docs/LocationName.md +20 -0
- data/docs/LocationSummary.md +20 -0
- data/docs/MachineDetail.md +24 -0
- data/docs/MachineSummary.md +18 -0
- data/docs/MachinesApi.md +165 -0
- data/docs/MoveBattleStyleDetail.md +22 -0
- data/docs/MoveBattleStyleName.md +20 -0
- data/docs/MoveBattleStyleSummary.md +20 -0
- data/docs/MoveChange.md +30 -0
- data/docs/MoveChangeEffectEntriesInner.md +22 -0
- data/docs/MoveDamageClassDescription.md +20 -0
- data/docs/MoveDamageClassDetail.md +26 -0
- data/docs/MoveDamageClassName.md +20 -0
- data/docs/MoveDamageClassSummary.md +20 -0
- data/docs/MoveDetail.md +64 -0
- data/docs/MoveDetailContestCombos.md +20 -0
- data/docs/MoveDetailContestCombosNormal.md +20 -0
- data/docs/MoveDetailEffectChangesInner.md +20 -0
- data/docs/MoveDetailEffectChangesInnerEffectEntriesInner.md +20 -0
- data/docs/MoveDetailMachinesInner.md +20 -0
- data/docs/MoveDetailMachinesInnerMachine.md +18 -0
- data/docs/MoveDetailStatChangesInner.md +20 -0
- data/docs/MoveFlavorText.md +22 -0
- data/docs/MoveLearnMethodDescription.md +20 -0
- data/docs/MoveLearnMethodDetail.md +26 -0
- data/docs/MoveLearnMethodName.md +20 -0
- data/docs/MoveLearnMethodSummary.md +20 -0
- data/docs/MoveMeta.md +40 -0
- data/docs/MoveMetaAilmentDetail.md +24 -0
- data/docs/MoveMetaAilmentName.md +20 -0
- data/docs/MoveMetaAilmentSummary.md +20 -0
- data/docs/MoveMetaCategoryDescription.md +20 -0
- data/docs/MoveMetaCategoryDetail.md +24 -0
- data/docs/MoveMetaCategorySummary.md +20 -0
- data/docs/MoveName.md +20 -0
- data/docs/MoveSummary.md +20 -0
- data/docs/MoveTargetDescription.md +20 -0
- data/docs/MoveTargetDetail.md +26 -0
- data/docs/MoveTargetName.md +20 -0
- data/docs/MoveTargetSummary.md +20 -0
- data/docs/MovesApi.md +955 -0
- data/docs/NatureBattleStylePreference.md +22 -0
- data/docs/NatureDetail.md +36 -0
- data/docs/NatureDetailPokeathlonStatChangesInner.md +20 -0
- data/docs/NatureName.md +20 -0
- data/docs/NatureSummary.md +20 -0
- data/docs/PaginatedAbilitySummaryList.md +24 -0
- data/docs/PaginatedBerryFirmnessSummaryList.md +24 -0
- data/docs/PaginatedBerryFlavorSummaryList.md +24 -0
- data/docs/PaginatedBerrySummaryList.md +24 -0
- data/docs/PaginatedCharacteristicSummaryList.md +24 -0
- data/docs/PaginatedContestEffectSummaryList.md +24 -0
- data/docs/PaginatedContestTypeSummaryList.md +24 -0
- data/docs/PaginatedEggGroupSummaryList.md +24 -0
- data/docs/PaginatedEncounterConditionSummaryList.md +24 -0
- data/docs/PaginatedEncounterConditionValueSummaryList.md +24 -0
- data/docs/PaginatedEncounterMethodSummaryList.md +24 -0
- data/docs/PaginatedEvolutionChainSummaryList.md +24 -0
- data/docs/PaginatedEvolutionTriggerSummaryList.md +24 -0
- data/docs/PaginatedGenderSummaryList.md +24 -0
- data/docs/PaginatedGenerationSummaryList.md +24 -0
- data/docs/PaginatedGrowthRateSummaryList.md +24 -0
- data/docs/PaginatedItemAttributeSummaryList.md +24 -0
- data/docs/PaginatedItemCategorySummaryList.md +24 -0
- data/docs/PaginatedItemFlingEffectSummaryList.md +24 -0
- data/docs/PaginatedItemPocketSummaryList.md +24 -0
- data/docs/PaginatedItemSummaryList.md +24 -0
- data/docs/PaginatedLanguageSummaryList.md +24 -0
- data/docs/PaginatedLocationAreaSummaryList.md +24 -0
- data/docs/PaginatedLocationSummaryList.md +24 -0
- data/docs/PaginatedMachineSummaryList.md +24 -0
- data/docs/PaginatedMoveBattleStyleSummaryList.md +24 -0
- data/docs/PaginatedMoveDamageClassSummaryList.md +24 -0
- data/docs/PaginatedMoveLearnMethodSummaryList.md +24 -0
- data/docs/PaginatedMoveMetaAilmentSummaryList.md +24 -0
- data/docs/PaginatedMoveMetaCategorySummaryList.md +24 -0
- data/docs/PaginatedMoveSummaryList.md +24 -0
- data/docs/PaginatedMoveTargetSummaryList.md +24 -0
- data/docs/PaginatedNatureSummaryList.md +24 -0
- data/docs/PaginatedPalParkAreaSummaryList.md +24 -0
- data/docs/PaginatedPokeathlonStatSummaryList.md +24 -0
- data/docs/PaginatedPokedexSummaryList.md +24 -0
- data/docs/PaginatedPokemonColorSummaryList.md +24 -0
- data/docs/PaginatedPokemonFormSummaryList.md +24 -0
- data/docs/PaginatedPokemonHabitatSummaryList.md +24 -0
- data/docs/PaginatedPokemonShapeSummaryList.md +24 -0
- data/docs/PaginatedPokemonSpeciesSummaryList.md +24 -0
- data/docs/PaginatedPokemonSummaryList.md +24 -0
- data/docs/PaginatedRegionSummaryList.md +24 -0
- data/docs/PaginatedStatSummaryList.md +24 -0
- data/docs/PaginatedSuperContestEffectSummaryList.md +24 -0
- data/docs/PaginatedTypeSummaryList.md +24 -0
- data/docs/PaginatedVersionGroupSummaryList.md +24 -0
- data/docs/PaginatedVersionSummaryList.md +24 -0
- data/docs/PalParkAreaDetail.md +24 -0
- data/docs/PalParkAreaDetailPokemonEncountersInner.md +22 -0
- data/docs/PalParkAreaName.md +20 -0
- data/docs/PalParkAreaSummary.md +20 -0
- data/docs/PokeathlonStatDetail.md +24 -0
- data/docs/PokeathlonStatDetailAffectingNatures.md +20 -0
- data/docs/PokeathlonStatDetailAffectingNaturesDecreaseInner.md +20 -0
- data/docs/PokeathlonStatDetailAffectingNaturesIncreaseInner.md +20 -0
- data/docs/PokeathlonStatName.md +20 -0
- data/docs/PokeathlonStatSummary.md +20 -0
- data/docs/PokedexDescription.md +20 -0
- data/docs/PokedexDetail.md +32 -0
- data/docs/PokedexDetailPokemonEntriesInner.md +20 -0
- data/docs/PokedexName.md +20 -0
- data/docs/PokedexSummary.md +20 -0
- data/docs/PokemonApi.md +2430 -32
- data/docs/PokemonColorDetail.md +24 -0
- data/docs/PokemonColorName.md +20 -0
- data/docs/PokemonColorSummary.md +20 -0
- data/docs/PokemonDetail.md +56 -0
- data/docs/PokemonDetailAbilitiesInner.md +22 -0
- data/docs/PokemonDetailCries.md +20 -0
- data/docs/PokemonDetailHeldItems.md +20 -0
- data/docs/PokemonDetailMovesInner.md +20 -0
- data/docs/PokemonDetailMovesInnerVersionGroupDetailsInner.md +22 -0
- data/docs/PokemonDetailPastAbilitiesInner.md +20 -0
- data/docs/PokemonDetailPastTypesInner.md +20 -0
- data/docs/PokemonDetailSprites.md +18 -0
- data/docs/PokemonDetailTypesInner.md +20 -0
- data/docs/PokemonDexEntry.md +20 -0
- data/docs/PokemonFormDetail.md +44 -0
- data/docs/PokemonFormDetailFormNamesInner.md +20 -0
- data/docs/PokemonFormDetailSprites.md +18 -0
- data/docs/PokemonFormSummary.md +20 -0
- data/docs/PokemonGameIndex.md +20 -0
- data/docs/PokemonHabitatDetail.md +24 -0
- data/docs/PokemonHabitatName.md +20 -0
- data/docs/PokemonHabitatSummary.md +20 -0
- data/docs/PokemonShapeDetail.md +26 -0
- data/docs/PokemonShapeDetailAwesomeNamesInner.md +20 -0
- data/docs/PokemonShapeDetailNamesInner.md +20 -0
- data/docs/PokemonShapeSummary.md +20 -0
- data/docs/PokemonSpeciesDescription.md +20 -0
- data/docs/PokemonSpeciesDetail.md +70 -0
- data/docs/PokemonSpeciesDetailGeneraInner.md +20 -0
- data/docs/PokemonSpeciesDetailPalParkEncountersInner.md +22 -0
- data/docs/PokemonSpeciesDetailVarietiesInner.md +20 -0
- data/docs/PokemonSpeciesFlavorText.md +22 -0
- data/docs/PokemonSpeciesSummary.md +20 -0
- data/docs/PokemonStat.md +22 -0
- data/docs/PokemonSummary.md +20 -0
- data/docs/RegionDetail.md +30 -0
- data/docs/RegionName.md +20 -0
- data/docs/RegionSummary.md +20 -0
- data/docs/StatDetail.md +34 -0
- data/docs/StatDetailAffectingMoves.md +20 -0
- data/docs/StatDetailAffectingMovesIncreaseInner.md +20 -0
- data/docs/StatDetailAffectingNatures.md +20 -0
- data/docs/StatName.md +20 -0
- data/docs/StatSummary.md +20 -0
- data/docs/SuperContestEffectDetail.md +24 -0
- data/docs/SuperContestEffectFlavorText.md +20 -0
- data/docs/SuperContestEffectSummary.md +18 -0
- data/docs/TypeDetail.md +38 -0
- data/docs/TypeDetailDamageRelations.md +28 -0
- data/docs/TypeDetailPastDamageRelationsInner.md +20 -0
- data/docs/TypeDetailPastDamageRelationsInnerDamageRelations.md +28 -0
- data/docs/TypeDetailPokemonInner.md +20 -0
- data/docs/TypeDetailPokemonInnerPokemon.md +20 -0
- data/docs/TypeDetailSpritesValueValue.md +18 -0
- data/docs/TypeGameIndex.md +20 -0
- data/docs/TypeSummary.md +20 -0
- data/docs/UtilityApi.md +165 -0
- data/docs/VersionDetail.md +24 -0
- data/docs/VersionGroupDetail.md +32 -0
- data/docs/VersionGroupSummary.md +20 -0
- data/docs/VersionName.md +20 -0
- data/docs/VersionSummary.md +20 -0
- data/lib/pokeapi_client/api/berries_api.rb +409 -0
- data/lib/pokeapi_client/api/contests_api.rb +409 -0
- data/lib/pokeapi_client/api/encounters_api.rb +409 -0
- data/lib/pokeapi_client/api/evolution_api.rb +280 -0
- data/lib/pokeapi_client/api/games_api.rb +538 -0
- data/lib/pokeapi_client/api/items_api.rb +667 -0
- data/lib/pokeapi_client/api/location_api.rb +422 -27
- data/lib/pokeapi_client/api/machines_api.rb +151 -0
- data/lib/pokeapi_client/api/moves_api.rb +796 -0
- data/lib/pokeapi_client/api/pokemon_api.rb +1975 -33
- data/lib/pokeapi_client/api/utility_api.rb +151 -0
- data/lib/pokeapi_client/api_client.rb +18 -14
- data/lib/pokeapi_client/api_error.rb +4 -4
- data/lib/pokeapi_client/api_model_base.rb +88 -0
- data/lib/pokeapi_client/configuration.rb +28 -4
- data/lib/pokeapi_client/models/ability_change.rb +192 -0
- data/lib/pokeapi_client/models/ability_change_effect_text.rb +199 -0
- data/lib/pokeapi_client/models/ability_detail.rb +374 -0
- data/lib/pokeapi_client/models/ability_detail_pokemon_inner.rb +216 -0
- data/lib/pokeapi_client/models/ability_detail_pokemon_inner_pokemon.rb +190 -0
- data/lib/pokeapi_client/models/ability_effect_text.rb +234 -0
- data/lib/pokeapi_client/models/ability_flavor_text.rb +216 -0
- data/lib/pokeapi_client/models/ability_name.rb +199 -0
- data/lib/pokeapi_client/models/ability_summary.rb +199 -0
- data/lib/pokeapi_client/models/berry_detail.rb +461 -0
- data/lib/pokeapi_client/models/berry_detail_flavors_inner.rb +190 -0
- data/lib/pokeapi_client/models/berry_detail_flavors_inner_flavor.rb +158 -0
- data/lib/pokeapi_client/models/berry_firmness_detail.rb +255 -0
- data/lib/pokeapi_client/models/berry_firmness_name.rb +199 -0
- data/lib/pokeapi_client/models/berry_firmness_summary.rb +199 -0
- data/lib/pokeapi_client/models/berry_flavor_detail.rb +281 -0
- data/lib/pokeapi_client/models/berry_flavor_detail_berries_inner.rb +190 -0
- data/lib/pokeapi_client/models/berry_flavor_detail_berries_inner_berry.rb +158 -0
- data/lib/pokeapi_client/models/berry_flavor_name.rb +199 -0
- data/lib/pokeapi_client/models/berry_flavor_summary.rb +199 -0
- data/lib/pokeapi_client/models/berry_summary.rb +199 -0
- data/lib/pokeapi_client/models/characteristic_description.rb +192 -0
- data/lib/pokeapi_client/models/characteristic_detail.rb +272 -0
- data/lib/pokeapi_client/models/characteristic_summary.rb +164 -0
- data/lib/pokeapi_client/models/contest_effect_detail.rb +272 -0
- data/lib/pokeapi_client/models/contest_effect_effect_text.rb +199 -0
- data/lib/pokeapi_client/models/contest_effect_flavor_text.rb +199 -0
- data/lib/pokeapi_client/models/contest_effect_summary.rb +164 -0
- data/lib/pokeapi_client/models/contest_type_detail.rb +253 -0
- data/lib/pokeapi_client/models/contest_type_name.rb +234 -0
- data/lib/pokeapi_client/models/contest_type_summary.rb +199 -0
- data/lib/pokeapi_client/models/egg_group_detail.rb +255 -0
- data/lib/pokeapi_client/models/egg_group_detail_pokemon_species_inner.rb +158 -0
- data/lib/pokeapi_client/models/egg_group_name.rb +199 -0
- data/lib/pokeapi_client/models/egg_group_summary.rb +199 -0
- data/lib/pokeapi_client/models/encounter_condition_detail.rb +255 -0
- data/lib/pokeapi_client/models/encounter_condition_name.rb +199 -0
- data/lib/pokeapi_client/models/encounter_condition_summary.rb +199 -0
- data/lib/pokeapi_client/models/encounter_condition_value_detail.rb +253 -0
- data/lib/pokeapi_client/models/encounter_condition_value_name.rb +199 -0
- data/lib/pokeapi_client/models/encounter_condition_value_summary.rb +199 -0
- data/lib/pokeapi_client/models/encounter_method_detail.rb +237 -0
- data/lib/pokeapi_client/models/encounter_method_name.rb +199 -0
- data/lib/pokeapi_client/models/encounter_method_summary.rb +199 -0
- data/lib/pokeapi_client/models/evolution_chain_detail.rb +216 -0
- data/lib/pokeapi_client/models/evolution_chain_detail_chain.rb +246 -0
- data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner.rb +218 -0
- data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner.rb +606 -0
- data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender.rb +190 -0
- data/lib/pokeapi_client/models/evolution_chain_summary.rb +164 -0
- data/lib/pokeapi_client/models/evolution_trigger_detail.rb +255 -0
- data/lib/pokeapi_client/models/evolution_trigger_name.rb +199 -0
- data/lib/pokeapi_client/models/evolution_trigger_summary.rb +199 -0
- data/lib/pokeapi_client/models/experience.rb +190 -0
- data/lib/pokeapi_client/models/gender_detail.rb +255 -0
- data/lib/pokeapi_client/models/gender_detail_pokemon_species_details_inner.rb +190 -0
- data/lib/pokeapi_client/models/gender_summary.rb +199 -0
- data/lib/pokeapi_client/models/generation_detail.rb +393 -0
- data/lib/pokeapi_client/models/generation_name.rb +199 -0
- data/lib/pokeapi_client/models/generation_summary.rb +199 -0
- data/lib/pokeapi_client/models/growth_rate_description.rb +192 -0
- data/lib/pokeapi_client/models/growth_rate_detail.rb +318 -0
- data/lib/pokeapi_client/models/growth_rate_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_attribute_description.rb +192 -0
- data/lib/pokeapi_client/models/item_attribute_detail.rb +283 -0
- data/lib/pokeapi_client/models/item_attribute_name.rb +199 -0
- data/lib/pokeapi_client/models/item_attribute_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_category_detail.rb +281 -0
- data/lib/pokeapi_client/models/item_category_name.rb +199 -0
- data/lib/pokeapi_client/models/item_category_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_detail.rb +519 -0
- data/lib/pokeapi_client/models/item_detail_baby_trigger_for.rb +164 -0
- data/lib/pokeapi_client/models/item_detail_held_by_pokemon_inner.rb +192 -0
- data/lib/pokeapi_client/models/item_detail_held_by_pokemon_inner_version_details_inner.rb +190 -0
- data/lib/pokeapi_client/models/item_detail_machines_inner.rb +190 -0
- data/lib/pokeapi_client/models/item_detail_sprites.rb +164 -0
- data/lib/pokeapi_client/models/item_effect_text.rb +234 -0
- data/lib/pokeapi_client/models/item_flavor_text.rb +216 -0
- data/lib/pokeapi_client/models/item_fling_effect_detail.rb +255 -0
- data/lib/pokeapi_client/models/item_fling_effect_effect_text.rb +199 -0
- data/lib/pokeapi_client/models/item_fling_effect_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_game_index.rb +190 -0
- data/lib/pokeapi_client/models/item_name.rb +199 -0
- data/lib/pokeapi_client/models/item_pocket_detail.rb +255 -0
- data/lib/pokeapi_client/models/item_pocket_name.rb +199 -0
- data/lib/pokeapi_client/models/item_pocket_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_summary.rb +199 -0
- data/lib/pokeapi_client/models/language_detail.rb +306 -0
- data/lib/pokeapi_client/models/language_name.rb +199 -0
- data/lib/pokeapi_client/models/language_summary.rb +199 -0
- data/lib/pokeapi_client/models/location_area_detail.rb +335 -0
- data/lib/pokeapi_client/models/location_area_detail_encounter_method_rates_inner.rb +192 -0
- data/lib/pokeapi_client/models/location_area_detail_encounter_method_rates_inner_version_details_inner.rb +190 -0
- data/lib/pokeapi_client/models/location_area_detail_pokemon_encounters_inner.rb +192 -0
- data/lib/pokeapi_client/models/location_area_detail_pokemon_encounters_inner_version_details_inner.rb +216 -0
- data/lib/pokeapi_client/models/location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details.rb +251 -0
- data/lib/pokeapi_client/models/location_area_name.rb +199 -0
- data/lib/pokeapi_client/models/location_area_summary.rb +199 -0
- data/lib/pokeapi_client/models/location_detail.rb +309 -0
- data/lib/pokeapi_client/models/location_game_index.rb +190 -0
- data/lib/pokeapi_client/models/location_name.rb +199 -0
- data/lib/pokeapi_client/models/location_summary.rb +199 -0
- data/lib/pokeapi_client/models/machine_detail.rb +242 -0
- data/lib/pokeapi_client/models/machine_summary.rb +164 -0
- data/lib/pokeapi_client/models/move_battle_style_detail.rb +227 -0
- data/lib/pokeapi_client/models/move_battle_style_name.rb +199 -0
- data/lib/pokeapi_client/models/move_battle_style_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_change.rb +274 -0
- data/lib/pokeapi_client/models/move_change_effect_entries_inner.rb +216 -0
- data/lib/pokeapi_client/models/move_damage_class_description.rb +192 -0
- data/lib/pokeapi_client/models/move_damage_class_detail.rb +283 -0
- data/lib/pokeapi_client/models/move_damage_class_name.rb +199 -0
- data/lib/pokeapi_client/models/move_damage_class_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_detail.rb +723 -0
- data/lib/pokeapi_client/models/move_detail_contest_combos.rb +190 -0
- data/lib/pokeapi_client/models/move_detail_contest_combos_normal.rb +194 -0
- data/lib/pokeapi_client/models/move_detail_effect_changes_inner.rb +192 -0
- data/lib/pokeapi_client/models/move_detail_effect_changes_inner_effect_entries_inner.rb +190 -0
- data/lib/pokeapi_client/models/move_detail_machines_inner.rb +190 -0
- data/lib/pokeapi_client/models/move_detail_machines_inner_machine.rb +164 -0
- data/lib/pokeapi_client/models/move_detail_stat_changes_inner.rb +190 -0
- data/lib/pokeapi_client/models/move_flavor_text.rb +216 -0
- data/lib/pokeapi_client/models/move_learn_method_description.rb +192 -0
- data/lib/pokeapi_client/models/move_learn_method_detail.rb +283 -0
- data/lib/pokeapi_client/models/move_learn_method_name.rb +199 -0
- data/lib/pokeapi_client/models/move_learn_method_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_meta.rb +290 -0
- data/lib/pokeapi_client/models/move_meta_ailment_detail.rb +255 -0
- data/lib/pokeapi_client/models/move_meta_ailment_name.rb +199 -0
- data/lib/pokeapi_client/models/move_meta_ailment_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_meta_category_description.rb +192 -0
- data/lib/pokeapi_client/models/move_meta_category_detail.rb +255 -0
- data/lib/pokeapi_client/models/move_meta_category_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_name.rb +199 -0
- data/lib/pokeapi_client/models/move_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_target_description.rb +192 -0
- data/lib/pokeapi_client/models/move_target_detail.rb +283 -0
- data/lib/pokeapi_client/models/move_target_name.rb +199 -0
- data/lib/pokeapi_client/models/move_target_summary.rb +199 -0
- data/lib/pokeapi_client/models/nature_battle_style_preference.rb +216 -0
- data/lib/pokeapi_client/models/nature_detail.rb +415 -0
- data/lib/pokeapi_client/models/nature_detail_pokeathlon_stat_changes_inner.rb +190 -0
- data/lib/pokeapi_client/models/nature_name.rb +199 -0
- data/lib/pokeapi_client/models/nature_summary.rb +199 -0
- data/lib/pokeapi_client/models/paginated_ability_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_berry_firmness_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_berry_flavor_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_berry_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_characteristic_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_contest_effect_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_contest_type_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_egg_group_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_encounter_condition_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_encounter_condition_value_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_encounter_method_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_evolution_chain_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_evolution_trigger_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_gender_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_generation_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_growth_rate_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_attribute_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_category_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_fling_effect_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_pocket_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_language_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_location_area_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_location_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_machine_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_battle_style_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_damage_class_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_learn_method_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_meta_ailment_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_meta_category_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_target_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_nature_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pal_park_area_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokeathlon_stat_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokedex_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_color_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_form_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_habitat_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_shape_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_species_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_region_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_stat_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_super_contest_effect_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_type_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_version_group_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_version_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/pal_park_area_detail.rb +255 -0
- data/lib/pokeapi_client/models/pal_park_area_detail_pokemon_encounters_inner.rb +216 -0
- data/lib/pokeapi_client/models/pal_park_area_name.rb +199 -0
- data/lib/pokeapi_client/models/pal_park_area_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_detail.rb +253 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures.rb +194 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures_decrease_inner.rb +199 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures_increase_inner.rb +199 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_name.rb +199 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokedex_description.rb +192 -0
- data/lib/pokeapi_client/models/pokedex_detail.rb +346 -0
- data/lib/pokeapi_client/models/pokedex_detail_pokemon_entries_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokedex_name.rb +199 -0
- data/lib/pokeapi_client/models/pokedex_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_color_detail.rb +255 -0
- data/lib/pokeapi_client/models/pokemon_color_name.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_color_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_detail.rb +602 -0
- data/lib/pokeapi_client/models/pokemon_detail_abilities_inner.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_detail_cries.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_detail_held_items.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_detail_moves_inner.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_detail_moves_inner_version_group_details_inner.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_detail_past_abilities_inner.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_detail_past_types_inner.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_detail_sprites.rb +147 -0
- data/lib/pokeapi_client/models/pokemon_detail_types_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_dex_entry.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_form_detail.rb +443 -0
- data/lib/pokeapi_client/models/pokemon_form_detail_form_names_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_form_detail_sprites.rb +147 -0
- data/lib/pokeapi_client/models/pokemon_form_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_game_index.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_habitat_detail.rb +255 -0
- data/lib/pokeapi_client/models/pokemon_habitat_name.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_habitat_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_shape_detail.rb +283 -0
- data/lib/pokeapi_client/models/pokemon_shape_detail_awesome_names_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_shape_detail_names_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_shape_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_species_description.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_species_detail.rb +700 -0
- data/lib/pokeapi_client/models/pokemon_species_detail_genera_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_species_detail_pal_park_encounters_inner.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_species_detail_varieties_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_species_flavor_text.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_species_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_stat.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_summary.rb +199 -0
- data/lib/pokeapi_client/models/region_detail.rb +337 -0
- data/lib/pokeapi_client/models/region_name.rb +199 -0
- data/lib/pokeapi_client/models/region_summary.rb +199 -0
- data/lib/pokeapi_client/models/stat_detail.rb +368 -0
- data/lib/pokeapi_client/models/stat_detail_affecting_moves.rb +194 -0
- data/lib/pokeapi_client/models/stat_detail_affecting_moves_increase_inner.rb +190 -0
- data/lib/pokeapi_client/models/stat_detail_affecting_natures.rb +194 -0
- data/lib/pokeapi_client/models/stat_name.rb +199 -0
- data/lib/pokeapi_client/models/stat_summary.rb +199 -0
- data/lib/pokeapi_client/models/super_contest_effect_detail.rb +246 -0
- data/lib/pokeapi_client/models/super_contest_effect_flavor_text.rb +199 -0
- data/lib/pokeapi_client/models/super_contest_effect_summary.rb +164 -0
- data/lib/pokeapi_client/models/type_detail.rb +446 -0
- data/lib/pokeapi_client/models/type_detail_damage_relations.rb +306 -0
- data/lib/pokeapi_client/models/type_detail_past_damage_relations_inner.rb +190 -0
- data/lib/pokeapi_client/models/type_detail_past_damage_relations_inner_damage_relations.rb +306 -0
- data/lib/pokeapi_client/models/type_detail_pokemon_inner.rb +156 -0
- data/lib/pokeapi_client/models/type_detail_pokemon_inner_pokemon.rb +158 -0
- data/lib/pokeapi_client/models/type_detail_sprites_value_value.rb +147 -0
- data/lib/pokeapi_client/models/type_game_index.rb +190 -0
- data/lib/pokeapi_client/models/type_summary.rb +199 -0
- data/lib/pokeapi_client/models/version_detail.rb +254 -0
- data/lib/pokeapi_client/models/version_group_detail.rb +347 -0
- data/lib/pokeapi_client/models/version_group_summary.rb +199 -0
- data/lib/pokeapi_client/models/version_name.rb +199 -0
- data/lib/pokeapi_client/models/version_summary.rb +199 -0
- data/lib/pokeapi_client/version.rb +5 -5
- data/lib/pokeapi_client.rb +282 -50
- data/pokeapi_client.gemspec +6 -6
- data/spec/api/berries_api_spec.rb +113 -0
- data/spec/api/contests_api_spec.rb +113 -0
- data/spec/api/encounters_api_spec.rb +113 -0
- data/spec/api/evolution_api_spec.rb +87 -0
- data/spec/api/games_api_spec.rb +139 -0
- data/spec/api/items_api_spec.rb +165 -0
- data/spec/api/location_api_spec.rb +93 -11
- data/spec/api/machines_api_spec.rb +61 -0
- data/spec/api/moves_api_spec.rb +191 -0
- data/spec/api/pokemon_api_spec.rb +404 -11
- data/spec/api/utility_api_spec.rb +61 -0
- data/spec/models/ability_change_effect_text_spec.rb +42 -0
- data/spec/models/ability_change_spec.rb +42 -0
- data/spec/models/ability_detail_pokemon_inner_pokemon_spec.rb +42 -0
- data/spec/models/ability_detail_pokemon_inner_spec.rb +48 -0
- data/spec/models/ability_detail_spec.rb +84 -0
- data/spec/models/ability_effect_text_spec.rb +48 -0
- data/spec/models/ability_flavor_text_spec.rb +48 -0
- data/spec/models/ability_name_spec.rb +42 -0
- data/spec/models/ability_summary_spec.rb +42 -0
- data/spec/models/berry_detail_flavors_inner_flavor_spec.rb +42 -0
- data/spec/models/berry_detail_flavors_inner_spec.rb +42 -0
- data/spec/models/berry_detail_spec.rb +102 -0
- data/spec/models/berry_firmness_detail_spec.rb +54 -0
- data/spec/models/berry_firmness_name_spec.rb +42 -0
- data/spec/models/berry_firmness_summary_spec.rb +42 -0
- data/spec/models/berry_flavor_detail_berries_inner_berry_spec.rb +42 -0
- data/spec/models/berry_flavor_detail_berries_inner_spec.rb +42 -0
- data/spec/models/berry_flavor_detail_spec.rb +60 -0
- data/spec/models/berry_flavor_name_spec.rb +42 -0
- data/spec/models/berry_flavor_summary_spec.rb +42 -0
- data/spec/models/berry_summary_spec.rb +42 -0
- data/spec/models/characteristic_description_spec.rb +42 -0
- data/spec/models/characteristic_detail_spec.rb +60 -0
- data/spec/models/characteristic_summary_spec.rb +36 -0
- data/spec/models/contest_effect_detail_spec.rb +60 -0
- data/spec/models/contest_effect_effect_text_spec.rb +42 -0
- data/spec/models/contest_effect_flavor_text_spec.rb +42 -0
- data/spec/models/contest_effect_summary_spec.rb +36 -0
- data/spec/models/contest_type_detail_spec.rb +54 -0
- data/spec/models/contest_type_name_spec.rb +48 -0
- data/spec/models/contest_type_summary_spec.rb +42 -0
- data/spec/models/egg_group_detail_pokemon_species_inner_spec.rb +42 -0
- data/spec/models/egg_group_detail_spec.rb +54 -0
- data/spec/models/egg_group_name_spec.rb +42 -0
- data/spec/models/egg_group_summary_spec.rb +42 -0
- data/spec/models/encounter_condition_detail_spec.rb +54 -0
- data/spec/models/encounter_condition_name_spec.rb +42 -0
- data/spec/models/encounter_condition_summary_spec.rb +42 -0
- data/spec/models/encounter_condition_value_detail_spec.rb +54 -0
- data/spec/models/encounter_condition_value_name_spec.rb +42 -0
- data/spec/models/encounter_condition_value_summary_spec.rb +42 -0
- data/spec/models/encounter_method_detail_spec.rb +54 -0
- data/spec/models/encounter_method_name_spec.rb +42 -0
- data/spec/models/encounter_method_summary_spec.rb +42 -0
- data/spec/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender_spec.rb +42 -0
- data/spec/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_spec.rb +138 -0
- data/spec/models/evolution_chain_detail_chain_evolves_to_inner_spec.rb +48 -0
- data/spec/models/evolution_chain_detail_chain_spec.rb +54 -0
- data/spec/models/evolution_chain_detail_spec.rb +48 -0
- data/spec/models/evolution_chain_summary_spec.rb +36 -0
- data/spec/models/evolution_trigger_detail_spec.rb +54 -0
- data/spec/models/evolution_trigger_name_spec.rb +42 -0
- data/spec/models/evolution_trigger_summary_spec.rb +42 -0
- data/spec/models/experience_spec.rb +42 -0
- data/spec/models/gender_detail_pokemon_species_details_inner_spec.rb +42 -0
- data/spec/models/gender_detail_spec.rb +54 -0
- data/spec/models/gender_summary_spec.rb +42 -0
- data/spec/models/generation_detail_spec.rb +84 -0
- data/spec/models/generation_name_spec.rb +42 -0
- data/spec/models/generation_summary_spec.rb +42 -0
- data/spec/models/growth_rate_description_spec.rb +42 -0
- data/spec/models/growth_rate_detail_spec.rb +66 -0
- data/spec/models/growth_rate_summary_spec.rb +42 -0
- data/spec/models/item_attribute_description_spec.rb +42 -0
- data/spec/models/item_attribute_detail_spec.rb +60 -0
- data/spec/models/item_attribute_name_spec.rb +42 -0
- data/spec/models/item_attribute_summary_spec.rb +42 -0
- data/spec/models/item_category_detail_spec.rb +60 -0
- data/spec/models/item_category_name_spec.rb +42 -0
- data/spec/models/item_category_summary_spec.rb +42 -0
- data/spec/models/item_detail_baby_trigger_for_spec.rb +36 -0
- data/spec/models/item_detail_held_by_pokemon_inner_spec.rb +42 -0
- data/spec/models/item_detail_held_by_pokemon_inner_version_details_inner_spec.rb +42 -0
- data/spec/models/item_detail_machines_inner_spec.rb +42 -0
- data/spec/models/item_detail_spec.rb +120 -0
- data/spec/models/item_detail_sprites_spec.rb +36 -0
- data/spec/models/item_effect_text_spec.rb +48 -0
- data/spec/models/item_flavor_text_spec.rb +48 -0
- data/spec/models/item_fling_effect_detail_spec.rb +54 -0
- data/spec/models/item_fling_effect_effect_text_spec.rb +42 -0
- data/spec/models/item_fling_effect_summary_spec.rb +42 -0
- data/spec/models/item_game_index_spec.rb +42 -0
- data/spec/models/item_name_spec.rb +42 -0
- data/spec/models/item_pocket_detail_spec.rb +54 -0
- data/spec/models/item_pocket_name_spec.rb +42 -0
- data/spec/models/item_pocket_summary_spec.rb +42 -0
- data/spec/models/item_summary_spec.rb +42 -0
- data/spec/models/language_detail_spec.rb +66 -0
- data/spec/models/language_name_spec.rb +42 -0
- data/spec/models/language_summary_spec.rb +42 -0
- data/spec/models/location_area_detail_encounter_method_rates_inner_spec.rb +42 -0
- data/spec/models/location_area_detail_encounter_method_rates_inner_version_details_inner_spec.rb +42 -0
- data/spec/models/location_area_detail_pokemon_encounters_inner_spec.rb +42 -0
- data/spec/models/location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details_spec.rb +60 -0
- data/spec/models/location_area_detail_pokemon_encounters_inner_version_details_inner_spec.rb +48 -0
- data/spec/models/location_area_detail_spec.rb +72 -0
- data/spec/models/location_area_name_spec.rb +42 -0
- data/spec/models/location_area_summary_spec.rb +42 -0
- data/spec/models/location_detail_spec.rb +66 -0
- data/spec/models/location_game_index_spec.rb +42 -0
- data/spec/models/location_name_spec.rb +42 -0
- data/spec/models/location_summary_spec.rb +42 -0
- data/spec/models/machine_detail_spec.rb +54 -0
- data/spec/models/machine_summary_spec.rb +36 -0
- data/spec/models/move_battle_style_detail_spec.rb +48 -0
- data/spec/models/move_battle_style_name_spec.rb +42 -0
- data/spec/models/move_battle_style_summary_spec.rb +42 -0
- data/spec/models/move_change_effect_entries_inner_spec.rb +48 -0
- data/spec/models/move_change_spec.rb +72 -0
- data/spec/models/move_damage_class_description_spec.rb +42 -0
- data/spec/models/move_damage_class_detail_spec.rb +60 -0
- data/spec/models/move_damage_class_name_spec.rb +42 -0
- data/spec/models/move_damage_class_summary_spec.rb +42 -0
- data/spec/models/move_detail_contest_combos_normal_spec.rb +42 -0
- data/spec/models/move_detail_contest_combos_spec.rb +42 -0
- data/spec/models/move_detail_effect_changes_inner_effect_entries_inner_spec.rb +42 -0
- data/spec/models/move_detail_effect_changes_inner_spec.rb +42 -0
- data/spec/models/move_detail_machines_inner_machine_spec.rb +36 -0
- data/spec/models/move_detail_machines_inner_spec.rb +42 -0
- data/spec/models/move_detail_spec.rb +174 -0
- data/spec/models/move_detail_stat_changes_inner_spec.rb +42 -0
- data/spec/models/move_flavor_text_spec.rb +48 -0
- data/spec/models/move_learn_method_description_spec.rb +42 -0
- data/spec/models/move_learn_method_detail_spec.rb +60 -0
- data/spec/models/move_learn_method_name_spec.rb +42 -0
- data/spec/models/move_learn_method_summary_spec.rb +42 -0
- data/spec/models/move_meta_ailment_detail_spec.rb +54 -0
- data/spec/models/move_meta_ailment_name_spec.rb +42 -0
- data/spec/models/move_meta_ailment_summary_spec.rb +42 -0
- data/spec/models/move_meta_category_description_spec.rb +42 -0
- data/spec/models/move_meta_category_detail_spec.rb +54 -0
- data/spec/models/move_meta_category_summary_spec.rb +42 -0
- data/spec/models/move_meta_spec.rb +102 -0
- data/spec/models/move_name_spec.rb +42 -0
- data/spec/models/move_summary_spec.rb +42 -0
- data/spec/models/move_target_description_spec.rb +42 -0
- data/spec/models/move_target_detail_spec.rb +60 -0
- data/spec/models/move_target_name_spec.rb +42 -0
- data/spec/models/move_target_summary_spec.rb +42 -0
- data/spec/models/nature_battle_style_preference_spec.rb +48 -0
- data/spec/models/nature_detail_pokeathlon_stat_changes_inner_spec.rb +42 -0
- data/spec/models/nature_detail_spec.rb +90 -0
- data/spec/models/nature_name_spec.rb +42 -0
- data/spec/models/nature_summary_spec.rb +42 -0
- data/spec/models/paginated_ability_summary_list_spec.rb +54 -0
- data/spec/models/paginated_berry_firmness_summary_list_spec.rb +54 -0
- data/spec/models/paginated_berry_flavor_summary_list_spec.rb +54 -0
- data/spec/models/paginated_berry_summary_list_spec.rb +54 -0
- data/spec/models/paginated_characteristic_summary_list_spec.rb +54 -0
- data/spec/models/paginated_contest_effect_summary_list_spec.rb +54 -0
- data/spec/models/paginated_contest_type_summary_list_spec.rb +54 -0
- data/spec/models/paginated_egg_group_summary_list_spec.rb +54 -0
- data/spec/models/paginated_encounter_condition_summary_list_spec.rb +54 -0
- data/spec/models/paginated_encounter_condition_value_summary_list_spec.rb +54 -0
- data/spec/models/paginated_encounter_method_summary_list_spec.rb +54 -0
- data/spec/models/paginated_evolution_chain_summary_list_spec.rb +54 -0
- data/spec/models/paginated_evolution_trigger_summary_list_spec.rb +54 -0
- data/spec/models/paginated_gender_summary_list_spec.rb +54 -0
- data/spec/models/paginated_generation_summary_list_spec.rb +54 -0
- data/spec/models/paginated_growth_rate_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_attribute_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_category_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_fling_effect_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_pocket_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_summary_list_spec.rb +54 -0
- data/spec/models/paginated_language_summary_list_spec.rb +54 -0
- data/spec/models/paginated_location_area_summary_list_spec.rb +54 -0
- data/spec/models/paginated_location_summary_list_spec.rb +54 -0
- data/spec/models/paginated_machine_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_battle_style_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_damage_class_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_learn_method_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_meta_ailment_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_meta_category_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_target_summary_list_spec.rb +54 -0
- data/spec/models/paginated_nature_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pal_park_area_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokeathlon_stat_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokedex_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_color_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_form_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_habitat_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_shape_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_species_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_summary_list_spec.rb +54 -0
- data/spec/models/paginated_region_summary_list_spec.rb +54 -0
- data/spec/models/paginated_stat_summary_list_spec.rb +54 -0
- data/spec/models/paginated_super_contest_effect_summary_list_spec.rb +54 -0
- data/spec/models/paginated_type_summary_list_spec.rb +54 -0
- data/spec/models/paginated_version_group_summary_list_spec.rb +54 -0
- data/spec/models/paginated_version_summary_list_spec.rb +54 -0
- data/spec/models/pal_park_area_detail_pokemon_encounters_inner_spec.rb +48 -0
- data/spec/models/pal_park_area_detail_spec.rb +54 -0
- data/spec/models/pal_park_area_name_spec.rb +42 -0
- data/spec/models/pal_park_area_summary_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_detail_affecting_natures_decrease_inner_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_detail_affecting_natures_increase_inner_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_detail_affecting_natures_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_detail_spec.rb +54 -0
- data/spec/models/pokeathlon_stat_name_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_summary_spec.rb +42 -0
- data/spec/models/pokedex_description_spec.rb +42 -0
- data/spec/models/pokedex_detail_pokemon_entries_inner_spec.rb +42 -0
- data/spec/models/pokedex_detail_spec.rb +78 -0
- data/spec/models/pokedex_name_spec.rb +42 -0
- data/spec/models/pokedex_summary_spec.rb +42 -0
- data/spec/models/pokemon_color_detail_spec.rb +54 -0
- data/spec/models/pokemon_color_name_spec.rb +42 -0
- data/spec/models/pokemon_color_summary_spec.rb +42 -0
- data/spec/models/pokemon_detail_abilities_inner_spec.rb +48 -0
- data/spec/models/pokemon_detail_cries_spec.rb +42 -0
- data/spec/models/pokemon_detail_held_items_spec.rb +42 -0
- data/spec/models/pokemon_detail_moves_inner_spec.rb +42 -0
- data/spec/models/pokemon_detail_moves_inner_version_group_details_inner_spec.rb +48 -0
- data/spec/models/pokemon_detail_past_abilities_inner_spec.rb +42 -0
- data/spec/models/pokemon_detail_past_types_inner_spec.rb +42 -0
- data/spec/models/pokemon_detail_spec.rb +150 -0
- data/spec/models/pokemon_detail_sprites_spec.rb +36 -0
- data/spec/models/pokemon_detail_types_inner_spec.rb +42 -0
- data/spec/models/pokemon_dex_entry_spec.rb +42 -0
- data/spec/models/pokemon_form_detail_form_names_inner_spec.rb +42 -0
- data/spec/models/pokemon_form_detail_spec.rb +114 -0
- data/spec/models/pokemon_form_detail_sprites_spec.rb +36 -0
- data/spec/models/pokemon_form_summary_spec.rb +42 -0
- data/spec/models/pokemon_game_index_spec.rb +42 -0
- data/spec/models/pokemon_habitat_detail_spec.rb +54 -0
- data/spec/models/pokemon_habitat_name_spec.rb +42 -0
- data/spec/models/pokemon_habitat_summary_spec.rb +42 -0
- data/spec/models/pokemon_shape_detail_awesome_names_inner_spec.rb +42 -0
- data/spec/models/pokemon_shape_detail_names_inner_spec.rb +42 -0
- data/spec/models/pokemon_shape_detail_spec.rb +60 -0
- data/spec/models/pokemon_shape_summary_spec.rb +42 -0
- data/spec/models/pokemon_species_description_spec.rb +42 -0
- data/spec/models/pokemon_species_detail_genera_inner_spec.rb +42 -0
- data/spec/models/pokemon_species_detail_pal_park_encounters_inner_spec.rb +48 -0
- data/spec/models/pokemon_species_detail_spec.rb +192 -0
- data/spec/models/pokemon_species_detail_varieties_inner_spec.rb +42 -0
- data/spec/models/pokemon_species_flavor_text_spec.rb +48 -0
- data/spec/models/pokemon_species_summary_spec.rb +42 -0
- data/spec/models/pokemon_stat_spec.rb +48 -0
- data/spec/models/pokemon_summary_spec.rb +42 -0
- data/spec/models/region_detail_spec.rb +72 -0
- data/spec/models/region_name_spec.rb +42 -0
- data/spec/models/region_summary_spec.rb +42 -0
- data/spec/models/stat_detail_affecting_moves_increase_inner_spec.rb +42 -0
- data/spec/models/stat_detail_affecting_moves_spec.rb +42 -0
- data/spec/models/stat_detail_affecting_natures_spec.rb +42 -0
- data/spec/models/stat_detail_spec.rb +84 -0
- data/spec/models/stat_name_spec.rb +42 -0
- data/spec/models/stat_summary_spec.rb +42 -0
- data/spec/models/super_contest_effect_detail_spec.rb +54 -0
- data/spec/models/super_contest_effect_flavor_text_spec.rb +42 -0
- data/spec/models/super_contest_effect_summary_spec.rb +36 -0
- data/spec/models/type_detail_damage_relations_spec.rb +66 -0
- data/spec/models/type_detail_past_damage_relations_inner_damage_relations_spec.rb +66 -0
- data/spec/models/type_detail_past_damage_relations_inner_spec.rb +42 -0
- data/spec/models/type_detail_pokemon_inner_pokemon_spec.rb +42 -0
- data/spec/models/type_detail_pokemon_inner_spec.rb +42 -0
- data/spec/models/type_detail_spec.rb +96 -0
- data/spec/models/type_detail_sprites_value_value_spec.rb +36 -0
- data/spec/models/type_game_index_spec.rb +42 -0
- data/spec/models/type_summary_spec.rb +42 -0
- data/spec/models/version_detail_spec.rb +54 -0
- data/spec/models/version_group_detail_spec.rb +78 -0
- data/spec/models/version_group_summary_spec.rb +42 -0
- data/spec/models/version_name_spec.rb +42 -0
- data/spec/models/version_summary_spec.rb +42 -0
- data/spec/spec_helper.rb +4 -4
- metadata +1125 -193
- data/bin/bundle +0 -109
- data/docs/AbilityApi.md +0 -137
- data/docs/BerryApi.md +0 -137
- data/docs/BerryFirmnessApi.md +0 -137
- data/docs/BerryFlavorApi.md +0 -137
- data/docs/CharacteristicApi.md +0 -137
- data/docs/ContestEffectApi.md +0 -137
- data/docs/ContestTypeApi.md +0 -137
- data/docs/EggGroupApi.md +0 -137
- data/docs/EncounterConditionApi.md +0 -137
- data/docs/EncounterConditionValueApi.md +0 -137
- data/docs/EncounterMethodApi.md +0 -137
- data/docs/EvolutionChainApi.md +0 -137
- data/docs/EvolutionTriggerApi.md +0 -137
- data/docs/GenderApi.md +0 -137
- data/docs/GenerationApi.md +0 -137
- data/docs/GrowthRateApi.md +0 -137
- data/docs/ItemApi.md +0 -137
- data/docs/ItemAttributeApi.md +0 -137
- data/docs/ItemCategoryApi.md +0 -137
- data/docs/ItemFlingEffectApi.md +0 -137
- data/docs/ItemPocketApi.md +0 -137
- data/docs/LanguageApi.md +0 -137
- data/docs/LocationAreaApi.md +0 -137
- data/docs/MachineApi.md +0 -137
- data/docs/MoveAilmentApi.md +0 -137
- data/docs/MoveApi.md +0 -137
- data/docs/MoveBattleStyleApi.md +0 -137
- data/docs/MoveCategoryApi.md +0 -137
- data/docs/MoveDamageClassApi.md +0 -137
- data/docs/MoveLearnMethodApi.md +0 -137
- data/docs/MoveTargetApi.md +0 -137
- data/docs/NatureApi.md +0 -137
- data/docs/PalParkAreaApi.md +0 -137
- data/docs/PokeathlonStatApi.md +0 -137
- data/docs/PokedexApi.md +0 -137
- data/docs/PokemonColorApi.md +0 -137
- data/docs/PokemonFormApi.md +0 -137
- data/docs/PokemonHabitatApi.md +0 -137
- data/docs/PokemonShapeApi.md +0 -137
- data/docs/PokemonSpeciesApi.md +0 -137
- data/docs/RegionApi.md +0 -137
- data/docs/StatApi.md +0 -137
- data/docs/SuperContestEffectApi.md +0 -137
- data/docs/TypeApi.md +0 -137
- data/docs/VersionApi.md +0 -137
- data/docs/VersionGroupApi.md +0 -137
- data/lib/pokeapi_client/api/ability_api.rb +0 -140
- data/lib/pokeapi_client/api/berry_api.rb +0 -140
- data/lib/pokeapi_client/api/berry_firmness_api.rb +0 -140
- data/lib/pokeapi_client/api/berry_flavor_api.rb +0 -140
- data/lib/pokeapi_client/api/characteristic_api.rb +0 -140
- data/lib/pokeapi_client/api/contest_effect_api.rb +0 -140
- data/lib/pokeapi_client/api/contest_type_api.rb +0 -140
- data/lib/pokeapi_client/api/egg_group_api.rb +0 -140
- data/lib/pokeapi_client/api/encounter_condition_api.rb +0 -140
- data/lib/pokeapi_client/api/encounter_condition_value_api.rb +0 -140
- data/lib/pokeapi_client/api/encounter_method_api.rb +0 -140
- data/lib/pokeapi_client/api/evolution_chain_api.rb +0 -140
- data/lib/pokeapi_client/api/evolution_trigger_api.rb +0 -140
- data/lib/pokeapi_client/api/gender_api.rb +0 -140
- data/lib/pokeapi_client/api/generation_api.rb +0 -140
- data/lib/pokeapi_client/api/growth_rate_api.rb +0 -140
- data/lib/pokeapi_client/api/item_api.rb +0 -140
- data/lib/pokeapi_client/api/item_attribute_api.rb +0 -140
- data/lib/pokeapi_client/api/item_category_api.rb +0 -140
- data/lib/pokeapi_client/api/item_fling_effect_api.rb +0 -140
- data/lib/pokeapi_client/api/item_pocket_api.rb +0 -140
- data/lib/pokeapi_client/api/language_api.rb +0 -140
- data/lib/pokeapi_client/api/location_area_api.rb +0 -140
- data/lib/pokeapi_client/api/machine_api.rb +0 -140
- data/lib/pokeapi_client/api/move_ailment_api.rb +0 -140
- data/lib/pokeapi_client/api/move_api.rb +0 -140
- data/lib/pokeapi_client/api/move_battle_style_api.rb +0 -140
- data/lib/pokeapi_client/api/move_category_api.rb +0 -140
- data/lib/pokeapi_client/api/move_damage_class_api.rb +0 -140
- data/lib/pokeapi_client/api/move_learn_method_api.rb +0 -140
- data/lib/pokeapi_client/api/move_target_api.rb +0 -140
- data/lib/pokeapi_client/api/nature_api.rb +0 -140
- data/lib/pokeapi_client/api/pal_park_area_api.rb +0 -140
- data/lib/pokeapi_client/api/pokeathlon_stat_api.rb +0 -140
- data/lib/pokeapi_client/api/pokedex_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_color_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_form_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_habitat_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_shape_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_species_api.rb +0 -140
- data/lib/pokeapi_client/api/region_api.rb +0 -140
- data/lib/pokeapi_client/api/stat_api.rb +0 -140
- data/lib/pokeapi_client/api/super_contest_effect_api.rb +0 -140
- data/lib/pokeapi_client/api/type_api.rb +0 -140
- data/lib/pokeapi_client/api/version_api.rb +0 -140
- data/lib/pokeapi_client/api/version_group_api.rb +0 -140
- data/spec/api/ability_api_spec.rb +0 -56
- data/spec/api/berry_api_spec.rb +0 -56
- data/spec/api/berry_firmness_api_spec.rb +0 -56
- data/spec/api/berry_flavor_api_spec.rb +0 -56
- data/spec/api/characteristic_api_spec.rb +0 -56
- data/spec/api/contest_effect_api_spec.rb +0 -56
- data/spec/api/contest_type_api_spec.rb +0 -56
- data/spec/api/egg_group_api_spec.rb +0 -56
- data/spec/api/encounter_condition_api_spec.rb +0 -56
- data/spec/api/encounter_condition_value_api_spec.rb +0 -56
- data/spec/api/encounter_method_api_spec.rb +0 -56
- data/spec/api/evolution_chain_api_spec.rb +0 -56
- data/spec/api/evolution_trigger_api_spec.rb +0 -56
- data/spec/api/gender_api_spec.rb +0 -56
- data/spec/api/generation_api_spec.rb +0 -56
- data/spec/api/growth_rate_api_spec.rb +0 -56
- data/spec/api/item_api_spec.rb +0 -56
- data/spec/api/item_attribute_api_spec.rb +0 -56
- data/spec/api/item_category_api_spec.rb +0 -56
- data/spec/api/item_fling_effect_api_spec.rb +0 -56
- data/spec/api/item_pocket_api_spec.rb +0 -56
- data/spec/api/language_api_spec.rb +0 -56
- data/spec/api/location_area_api_spec.rb +0 -56
- data/spec/api/machine_api_spec.rb +0 -56
- data/spec/api/move_ailment_api_spec.rb +0 -56
- data/spec/api/move_api_spec.rb +0 -56
- data/spec/api/move_battle_style_api_spec.rb +0 -56
- data/spec/api/move_category_api_spec.rb +0 -56
- data/spec/api/move_damage_class_api_spec.rb +0 -56
- data/spec/api/move_learn_method_api_spec.rb +0 -56
- data/spec/api/move_target_api_spec.rb +0 -56
- data/spec/api/nature_api_spec.rb +0 -56
- data/spec/api/pal_park_area_api_spec.rb +0 -56
- data/spec/api/pokeathlon_stat_api_spec.rb +0 -56
- data/spec/api/pokedex_api_spec.rb +0 -56
- data/spec/api/pokemon_color_api_spec.rb +0 -56
- data/spec/api/pokemon_form_api_spec.rb +0 -56
- data/spec/api/pokemon_habitat_api_spec.rb +0 -56
- data/spec/api/pokemon_shape_api_spec.rb +0 -56
- data/spec/api/pokemon_species_api_spec.rb +0 -56
- data/spec/api/region_api_spec.rb +0 -56
- data/spec/api/stat_api_spec.rb +0 -56
- data/spec/api/super_contest_effect_api_spec.rb +0 -56
- data/spec/api/type_api_spec.rb +0 -56
- data/spec/api/version_api_spec.rb +0 -56
- data/spec/api/version_group_api_spec.rb +0 -56
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#PokéAPI
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,22 +32,415 @@ describe 'PokemonApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for ability_list
|
|
36
|
+
# Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail.
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
39
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
40
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
41
|
+
# @return [PaginatedAbilitySummaryList]
|
|
42
|
+
describe 'ability_list test' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# unit tests for ability_retrieve
|
|
49
|
+
# Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail.
|
|
50
|
+
# @param id This parameter can be a string or an integer.
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [AbilityDetail]
|
|
53
|
+
describe 'ability_retrieve test' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# unit tests for characteristic_list
|
|
60
|
+
# List charecterictics
|
|
61
|
+
# Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon's Characteristic is determined by the remainder of its highest IV divided by 5 (gene_modulo). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Characteristic) for greater detail.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
65
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
66
|
+
# @return [PaginatedCharacteristicSummaryList]
|
|
67
|
+
describe 'characteristic_list test' do
|
|
68
|
+
it 'should work' do
|
|
69
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# unit tests for characteristic_retrieve
|
|
74
|
+
# Get characteristic
|
|
75
|
+
# Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon's Characteristic is determined by the remainder of its highest IV divided by 5 (gene_modulo). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Characteristic) for greater detail.
|
|
76
|
+
# @param id This parameter can be a string or an integer.
|
|
77
|
+
# @param [Hash] opts the optional parameters
|
|
78
|
+
# @return [CharacteristicDetail]
|
|
79
|
+
describe 'characteristic_retrieve test' do
|
|
80
|
+
it 'should work' do
|
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# unit tests for egg_group_list
|
|
86
|
+
# List egg groups
|
|
87
|
+
# Egg Groups are categories which determine which Pokémon are able to interbreed. Pokémon may belong to either one or two Egg Groups. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Egg_Group) for greater detail.
|
|
88
|
+
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
90
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
91
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
92
|
+
# @return [PaginatedEggGroupSummaryList]
|
|
93
|
+
describe 'egg_group_list test' do
|
|
94
|
+
it 'should work' do
|
|
95
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# unit tests for egg_group_retrieve
|
|
100
|
+
# Get egg group
|
|
101
|
+
# Egg Groups are categories which determine which Pokémon are able to interbreed. Pokémon may belong to either one or two Egg Groups. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Egg_Group) for greater detail.
|
|
102
|
+
# @param id This parameter can be a string or an integer.
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [EggGroupDetail]
|
|
105
|
+
describe 'egg_group_retrieve test' do
|
|
106
|
+
it 'should work' do
|
|
107
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# unit tests for gender_list
|
|
112
|
+
# List genders
|
|
113
|
+
# Genders were introduced in Generation II for the purposes of breeding Pokémon but can also result in visual differences or even different evolutionary lines. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Gender) for greater detail.
|
|
114
|
+
# @param [Hash] opts the optional parameters
|
|
115
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
116
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
117
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
118
|
+
# @return [PaginatedGenderSummaryList]
|
|
119
|
+
describe 'gender_list test' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# unit tests for gender_retrieve
|
|
126
|
+
# Get gender
|
|
127
|
+
# Genders were introduced in Generation II for the purposes of breeding Pokémon but can also result in visual differences or even different evolutionary lines. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Gender) for greater detail.
|
|
128
|
+
# @param id This parameter can be a string or an integer.
|
|
129
|
+
# @param [Hash] opts the optional parameters
|
|
130
|
+
# @return [GenderDetail]
|
|
131
|
+
describe 'gender_retrieve test' do
|
|
132
|
+
it 'should work' do
|
|
133
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# unit tests for growth_rate_list
|
|
138
|
+
# List growth rates
|
|
139
|
+
# Growth rates are the speed with which Pokémon gain levels through experience. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Experience) for greater detail.
|
|
140
|
+
# @param [Hash] opts the optional parameters
|
|
141
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
142
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
143
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
144
|
+
# @return [PaginatedGrowthRateSummaryList]
|
|
145
|
+
describe 'growth_rate_list test' do
|
|
146
|
+
it 'should work' do
|
|
147
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# unit tests for growth_rate_retrieve
|
|
152
|
+
# Get growth rate
|
|
153
|
+
# Growth rates are the speed with which Pokémon gain levels through experience. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Experience) for greater detail.
|
|
154
|
+
# @param id This parameter can be a string or an integer.
|
|
155
|
+
# @param [Hash] opts the optional parameters
|
|
156
|
+
# @return [GrowthRateDetail]
|
|
157
|
+
describe 'growth_rate_retrieve test' do
|
|
158
|
+
it 'should work' do
|
|
159
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# unit tests for move_damage_class_list
|
|
164
|
+
# List move damage classes
|
|
165
|
+
# Damage classes moves can have, e.g. physical, special, or non-damaging.
|
|
166
|
+
# @param [Hash] opts the optional parameters
|
|
167
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
168
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
169
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
170
|
+
# @return [PaginatedMoveDamageClassSummaryList]
|
|
171
|
+
describe 'move_damage_class_list test' do
|
|
172
|
+
it 'should work' do
|
|
173
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# unit tests for move_damage_class_retrieve
|
|
178
|
+
# Get move damage class
|
|
179
|
+
# Damage classes moves can have, e.g. physical, special, or non-damaging.
|
|
180
|
+
# @param id This parameter can be a string or an integer.
|
|
181
|
+
# @param [Hash] opts the optional parameters
|
|
182
|
+
# @return [MoveDamageClassDetail]
|
|
183
|
+
describe 'move_damage_class_retrieve test' do
|
|
184
|
+
it 'should work' do
|
|
185
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# unit tests for nature_list
|
|
190
|
+
# List natures
|
|
191
|
+
# Natures influence how a Pokémon's stats grow. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Nature) for greater detail.
|
|
192
|
+
# @param [Hash] opts the optional parameters
|
|
193
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
194
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
195
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
196
|
+
# @return [PaginatedNatureSummaryList]
|
|
197
|
+
describe 'nature_list test' do
|
|
198
|
+
it 'should work' do
|
|
199
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# unit tests for nature_retrieve
|
|
204
|
+
# Get nature
|
|
205
|
+
# Natures influence how a Pokémon's stats grow. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Nature) for greater detail.
|
|
206
|
+
# @param id This parameter can be a string or an integer.
|
|
207
|
+
# @param [Hash] opts the optional parameters
|
|
208
|
+
# @return [NatureDetail]
|
|
209
|
+
describe 'nature_retrieve test' do
|
|
210
|
+
it 'should work' do
|
|
211
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
# unit tests for pokeathlon_stat_list
|
|
216
|
+
# List pokeathlon stats
|
|
217
|
+
# Pokeathlon Stats are different attributes of a Pokémon's performance in Pokéathlons. In Pokéathlons, competitions happen on different courses; one for each of the different Pokéathlon stats. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9athlon) for greater detail.
|
|
218
|
+
# @param [Hash] opts the optional parameters
|
|
219
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
220
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
221
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
222
|
+
# @return [PaginatedPokeathlonStatSummaryList]
|
|
223
|
+
describe 'pokeathlon_stat_list test' do
|
|
224
|
+
it 'should work' do
|
|
225
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
# unit tests for pokeathlon_stat_retrieve
|
|
230
|
+
# Get pokeathlon stat
|
|
231
|
+
# Pokeathlon Stats are different attributes of a Pokémon's performance in Pokéathlons. In Pokéathlons, competitions happen on different courses; one for each of the different Pokéathlon stats. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9athlon) for greater detail.
|
|
232
|
+
# @param id This parameter can be a string or an integer.
|
|
233
|
+
# @param [Hash] opts the optional parameters
|
|
234
|
+
# @return [PokeathlonStatDetail]
|
|
235
|
+
describe 'pokeathlon_stat_retrieve test' do
|
|
236
|
+
it 'should work' do
|
|
237
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
238
|
+
end
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# unit tests for pokemon_color_list
|
|
242
|
+
# List pokemon colors
|
|
243
|
+
# Colors used for sorting Pokémon in a Pokédex. The color listed in the Pokédex is usually the color most apparent or covering each Pokémon's body. No orange category exists; Pokémon that are primarily orange are listed as red or brown.
|
|
244
|
+
# @param [Hash] opts the optional parameters
|
|
245
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
246
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
247
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
248
|
+
# @return [PaginatedPokemonColorSummaryList]
|
|
249
|
+
describe 'pokemon_color_list test' do
|
|
250
|
+
it 'should work' do
|
|
251
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
# unit tests for pokemon_color_retrieve
|
|
256
|
+
# Get pokemon color
|
|
257
|
+
# Colors used for sorting Pokémon in a Pokédex. The color listed in the Pokédex is usually the color most apparent or covering each Pokémon's body. No orange category exists; Pokémon that are primarily orange are listed as red or brown.
|
|
258
|
+
# @param id This parameter can be a string or an integer.
|
|
259
|
+
# @param [Hash] opts the optional parameters
|
|
260
|
+
# @return [PokemonColorDetail]
|
|
261
|
+
describe 'pokemon_color_retrieve test' do
|
|
262
|
+
it 'should work' do
|
|
263
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
# unit tests for pokemon_form_list
|
|
268
|
+
# List pokemon forms
|
|
269
|
+
# Some Pokémon may appear in one of multiple, visually different forms. These differences are purely cosmetic. For variations within a Pokémon species, which do differ in more than just visuals, the 'Pokémon' entity is used to represent such a variety.
|
|
270
|
+
# @param [Hash] opts the optional parameters
|
|
271
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
272
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
273
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
274
|
+
# @return [PaginatedPokemonFormSummaryList]
|
|
275
|
+
describe 'pokemon_form_list test' do
|
|
276
|
+
it 'should work' do
|
|
277
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
# unit tests for pokemon_form_retrieve
|
|
282
|
+
# Get pokemon form
|
|
283
|
+
# Some Pokémon may appear in one of multiple, visually different forms. These differences are purely cosmetic. For variations within a Pokémon species, which do differ in more than just visuals, the 'Pokémon' entity is used to represent such a variety.
|
|
284
|
+
# @param id This parameter can be a string or an integer.
|
|
285
|
+
# @param [Hash] opts the optional parameters
|
|
286
|
+
# @return [PokemonFormDetail]
|
|
287
|
+
describe 'pokemon_form_retrieve test' do
|
|
288
|
+
it 'should work' do
|
|
289
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
290
|
+
end
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
# unit tests for pokemon_habitat_list
|
|
294
|
+
# List pokemom habitas
|
|
295
|
+
# Habitats are generally different terrain Pokémon can be found in but can also be areas designated for rare or legendary Pokémon.
|
|
296
|
+
# @param [Hash] opts the optional parameters
|
|
297
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
298
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
299
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
300
|
+
# @return [PaginatedPokemonHabitatSummaryList]
|
|
301
|
+
describe 'pokemon_habitat_list test' do
|
|
302
|
+
it 'should work' do
|
|
303
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
304
|
+
end
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
# unit tests for pokemon_habitat_retrieve
|
|
308
|
+
# Get pokemom habita
|
|
309
|
+
# Habitats are generally different terrain Pokémon can be found in but can also be areas designated for rare or legendary Pokémon.
|
|
310
|
+
# @param id This parameter can be a string or an integer.
|
|
311
|
+
# @param [Hash] opts the optional parameters
|
|
312
|
+
# @return [PokemonHabitatDetail]
|
|
313
|
+
describe 'pokemon_habitat_retrieve test' do
|
|
314
|
+
it 'should work' do
|
|
315
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
316
|
+
end
|
|
317
|
+
end
|
|
318
|
+
|
|
35
319
|
# unit tests for pokemon_list
|
|
320
|
+
# List pokemon
|
|
321
|
+
# Pokémon are the creatures that inhabit the world of the Pokémon games. They can be caught using Pokéballs and trained by battling with other Pokémon. Each Pokémon belongs to a specific species but may take on a variant which makes it differ from other Pokémon of the same species, such as base stats, available abilities and typings. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_(species)) for greater detail.
|
|
36
322
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Integer] :limit
|
|
38
|
-
# @option opts [Integer] :offset
|
|
39
|
-
# @
|
|
323
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
324
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
325
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
326
|
+
# @return [PaginatedPokemonSummaryList]
|
|
40
327
|
describe 'pokemon_list test' do
|
|
41
328
|
it 'should work' do
|
|
42
329
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
330
|
end
|
|
44
331
|
end
|
|
45
332
|
|
|
46
|
-
# unit tests for
|
|
47
|
-
#
|
|
333
|
+
# unit tests for pokemon_retrieve
|
|
334
|
+
# Get pokemon
|
|
335
|
+
# Pokémon are the creatures that inhabit the world of the Pokémon games. They can be caught using Pokéballs and trained by battling with other Pokémon. Each Pokémon belongs to a specific species but may take on a variant which makes it differ from other Pokémon of the same species, such as base stats, available abilities and typings. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_(species)) for greater detail.
|
|
336
|
+
# @param id This parameter can be a string or an integer.
|
|
337
|
+
# @param [Hash] opts the optional parameters
|
|
338
|
+
# @return [PokemonDetail]
|
|
339
|
+
describe 'pokemon_retrieve test' do
|
|
340
|
+
it 'should work' do
|
|
341
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
# unit tests for pokemon_shape_list
|
|
346
|
+
# List pokemon shapes
|
|
347
|
+
# Shapes used for sorting Pokémon in a Pokédex.
|
|
348
|
+
# @param [Hash] opts the optional parameters
|
|
349
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
350
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
351
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
352
|
+
# @return [PaginatedPokemonShapeSummaryList]
|
|
353
|
+
describe 'pokemon_shape_list test' do
|
|
354
|
+
it 'should work' do
|
|
355
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
356
|
+
end
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
# unit tests for pokemon_shape_retrieve
|
|
360
|
+
# Get pokemon shape
|
|
361
|
+
# Shapes used for sorting Pokémon in a Pokédex.
|
|
362
|
+
# @param id This parameter can be a string or an integer.
|
|
363
|
+
# @param [Hash] opts the optional parameters
|
|
364
|
+
# @return [PokemonShapeDetail]
|
|
365
|
+
describe 'pokemon_shape_retrieve test' do
|
|
366
|
+
it 'should work' do
|
|
367
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
368
|
+
end
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# unit tests for pokemon_species_list
|
|
372
|
+
# List pokemon species
|
|
373
|
+
# A Pokémon Species forms the basis for at least one Pokémon. Attributes of a Pokémon species are shared across all varieties of Pokémon within the species. A good example is Wormadam; Wormadam is the species which can be found in three different varieties, Wormadam-Trash, Wormadam-Sandy and Wormadam-Plant.
|
|
374
|
+
# @param [Hash] opts the optional parameters
|
|
375
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
376
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
377
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
378
|
+
# @return [PaginatedPokemonSpeciesSummaryList]
|
|
379
|
+
describe 'pokemon_species_list test' do
|
|
380
|
+
it 'should work' do
|
|
381
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# unit tests for pokemon_species_retrieve
|
|
386
|
+
# Get pokemon species
|
|
387
|
+
# A Pokémon Species forms the basis for at least one Pokémon. Attributes of a Pokémon species are shared across all varieties of Pokémon within the species. A good example is Wormadam; Wormadam is the species which can be found in three different varieties, Wormadam-Trash, Wormadam-Sandy and Wormadam-Plant.
|
|
388
|
+
# @param id This parameter can be a string or an integer.
|
|
389
|
+
# @param [Hash] opts the optional parameters
|
|
390
|
+
# @return [PokemonSpeciesDetail]
|
|
391
|
+
describe 'pokemon_species_retrieve test' do
|
|
392
|
+
it 'should work' do
|
|
393
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
394
|
+
end
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
# unit tests for stat_list
|
|
398
|
+
# List stats
|
|
399
|
+
# Stats determine certain aspects of battles. Each Pokémon has a value for each stat which grows as they gain levels and can be altered momentarily by effects in battles.
|
|
400
|
+
# @param [Hash] opts the optional parameters
|
|
401
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
402
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
403
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
404
|
+
# @return [PaginatedStatSummaryList]
|
|
405
|
+
describe 'stat_list test' do
|
|
406
|
+
it 'should work' do
|
|
407
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
408
|
+
end
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
# unit tests for stat_retrieve
|
|
412
|
+
# Get stat
|
|
413
|
+
# Stats determine certain aspects of battles. Each Pokémon has a value for each stat which grows as they gain levels and can be altered momentarily by effects in battles.
|
|
414
|
+
# @param id This parameter can be a string or an integer.
|
|
415
|
+
# @param [Hash] opts the optional parameters
|
|
416
|
+
# @return [StatDetail]
|
|
417
|
+
describe 'stat_retrieve test' do
|
|
418
|
+
it 'should work' do
|
|
419
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
420
|
+
end
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
# unit tests for type_list
|
|
424
|
+
# List types
|
|
425
|
+
# Types are properties for Pokémon and their moves. Each type has three properties: which types of Pokémon it is super effective against, which types of Pokémon it is not very effective against, and which types of Pokémon it is completely ineffective against.
|
|
426
|
+
# @param [Hash] opts the optional parameters
|
|
427
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
428
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
429
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
430
|
+
# @return [PaginatedTypeSummaryList]
|
|
431
|
+
describe 'type_list test' do
|
|
432
|
+
it 'should work' do
|
|
433
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
434
|
+
end
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# unit tests for type_retrieve
|
|
438
|
+
# Get types
|
|
439
|
+
# Types are properties for Pokémon and their moves. Each type has three properties: which types of Pokémon it is super effective against, which types of Pokémon it is not very effective against, and which types of Pokémon it is completely ineffective against.
|
|
440
|
+
# @param id This parameter can be a string or an integer.
|
|
48
441
|
# @param [Hash] opts the optional parameters
|
|
49
|
-
# @return [
|
|
50
|
-
describe '
|
|
442
|
+
# @return [TypeDetail]
|
|
443
|
+
describe 'type_retrieve test' do
|
|
51
444
|
it 'should work' do
|
|
52
445
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
53
446
|
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
3
|
+
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PokeApiClient::UtilityApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'UtilityApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PokeApiClient::UtilityApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of UtilityApi' do
|
|
30
|
+
it 'should create an instance of UtilityApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::UtilityApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for language_list
|
|
36
|
+
# List languages
|
|
37
|
+
# Languages for translations of API resource information.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
42
|
+
# @return [PaginatedLanguageSummaryList]
|
|
43
|
+
describe 'language_list test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# unit tests for language_retrieve
|
|
50
|
+
# Get language
|
|
51
|
+
# Languages for translations of API resource information.
|
|
52
|
+
# @param id This parameter can be a string or an integer.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @return [LanguageDetail]
|
|
55
|
+
describe 'language_retrieve test' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
3
|
+
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PokeApiClient::AbilityChangeEffectText
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PokeApiClient::AbilityChangeEffectText do
|
|
21
|
+
#let(:instance) { PokeApiClient::AbilityChangeEffectText.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AbilityChangeEffectText' do
|
|
24
|
+
it 'should create an instance of AbilityChangeEffectText' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PokeApiClient::AbilityChangeEffectText)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "effect"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "language"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
3
|
+
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PokeApiClient::AbilityChange
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PokeApiClient::AbilityChange do
|
|
21
|
+
#let(:instance) { PokeApiClient::AbilityChange.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AbilityChange' do
|
|
24
|
+
it 'should create an instance of AbilityChange' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PokeApiClient::AbilityChange)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "version_group"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "effect_entries"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
3
|
+
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PokeApiClient::AbilityDetailPokemonInnerPokemon
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PokeApiClient::AbilityDetailPokemonInnerPokemon do
|
|
21
|
+
#let(:instance) { PokeApiClient::AbilityDetailPokemonInnerPokemon.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AbilityDetailPokemonInnerPokemon' do
|
|
24
|
+
it 'should create an instance of AbilityDetailPokemonInnerPokemon' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PokeApiClient::AbilityDetailPokemonInnerPokemon)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "url"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|