rdavid1099/poke-api-v2

View on GitHub
lib/poke_api/encounter_method.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module PokeApi
  # EncounterMethod object handling all data fetched from /encounter-method
  class EncounterMethod < NamedApiResource
    attr_reader :order,
                :names

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