rdavid1099/poke-api-v2

View on GitHub
lib/poke_api/egg_group.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module PokeApi
  # EggGroup object handling all data fetched from /egg-group
  class EggGroup < NamedApiResource
    attr_reader :names,
                :pokemon_species

    def initialize(data)
      assign_data(data)
    end
  end
end