Class: MtgApi::Set
- Inherits:
-
RequestEntity
- Object
- RequestEntity
- MtgApi::Set
- Defined in:
- lib/mtg_api/set.rb
Overview
represents a set in MtG
Instance Method Summary collapse
-
#cards ⇒ Object
the cards that belong to this set.
Methods inherited from RequestEntity
#attributes, configure, #initialize
Constructor Details
This class inherits a constructor from MtgApi::RequestEntity
Instance Method Details
#cards ⇒ Object
the cards that belong to this set
23 24 25 |
# File 'lib/mtg_api/set.rb', line 23 def cards Card.where(set: code) end |