class PokeApi::Characteristic
Characteristic
object handling all data fetched from /characteristic
Attributes
descriptions[R]
gene_modulo[R]
highest_stat[R]
possible_values[R]
Public Class Methods
new(data)
click to toggle source
# File lib/poke_api/characteristic.rb, line 9 def initialize(data) assign_data(data) end
Private Instance Methods
custom_endpoint_object()
click to toggle source
# File lib/poke_api/characteristic.rb, line 15 def custom_endpoint_object { highest_stat: Stat } end