require 'oakdex/pokedex/base'

module Oakdex
  module Pokedex
    # Represents the move of a Pokemon
    class Move < Base
      json_folder 'move'
      translate :names, :name
      translate :descriptions, :description
    end
  end
end

require 'oakdex/pokedex/base'

module Oakdex
  module Pokedex
    # Represents the move of a Pokemon
    class Move < Base
      json_folder 'move'
      translate :names, :name
      translate :descriptions, :description

      def pp
        @attributes['pp']
      end
    end
  end
end

Add support for ruby 2.5.0
Add support for ruby 2.5.0
