Skip to content

Added method 'all' to Card and Set.

Compare
Choose a tag to compare
@adback03 adback03 released this 22 Jan 00:55
· 40 commits to master since this release

You can now get all cards (pagination handled for you) via the following:

MTG::Card.all

You can even filter on fields with this method

MTG::Card.where(subtypes: 'elf,warrior').all

You can also get all sets

MTG::Set.all