Sha256: fd0a1d22b08321ef0c1b865856a07350a75d82854a71fc68f3bb68fe06a54fbe
Contents?: true
Size: 312 Bytes
Versions: 8
Compression:
Stored size: 312 Bytes
Contents
module Pokemon class Legalities attr_accessor :expanded, :standard, :unlimited def self.from_json(json) legality = Legalities.new legality.expanded = json['expanded'] legality.standard = json['standard'] legality.unlimited = json['unlimited'] legality end end end
Version data entries
8 entries across 8 versions & 1 rubygems