rdavid1099/poke-api-v2

View on GitHub
lib/poke_api/berry_firmness.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module PokeApi
  # BerryFirmness object handling all data fetched from /berry-firmness
  class BerryFirmness < NamedApiResource
    attr_reader :berries,
                :names

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