Class: MtgApi::Utilities::SetLinks
- Inherits:
-
Object
- Object
- MtgApi::Utilities::SetLinks
- Defined in:
- lib/mtg_api/utilities/set_links.rb
Overview
stores the links to the cards or booster of a set
Instance Attribute Summary collapse
-
#booster ⇒ Object
the urls.
-
#cards ⇒ Object
the urls.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ SetLinks
constructor
store the given values.
Constructor Details
#initialize(args = {}) ⇒ SetLinks
store the given values
11 12 13 14 |
# File 'lib/mtg_api/utilities/set_links.rb', line 11 def initialize(args = {}) self.cards = args[:cards] self.booster = args[:booster] end |
Instance Attribute Details
#booster ⇒ Object
the urls
8 9 10 |
# File 'lib/mtg_api/utilities/set_links.rb', line 8 def booster @booster end |
#cards ⇒ Object
the urls
8 9 10 |
# File 'lib/mtg_api/utilities/set_links.rb', line 8 def cards @cards end |