struct

Scryfall::CardList

Inherits Enumerable < JSON::Serializable < Struct < Value < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data
Source
each

Must yield this collection's elements to the block.

Source
fetch_next_page

Will make an api request using the next_page value if available

Source
fetch_prev_page

Will make an api request decrementing the page number if available

Source
has_more?
Source
next_page
Source
page

Returns the current page number

Source
params
Source
prev_page
Source
total_cards
Source
uri=(uri : URI | Nil)
Source
warnings
Source