class Pokemon::AncientTrait
Attributes
name[RW]
text[RW]
Public Class Methods
from_json(json)
click to toggle source
# File lib/pokemon_tcg_sdk/ancient_trait.rb, line 5 def self.from_json(json) trait = AncientTrait.new trait.name = json['name'] trait.text = json['text'] trait end