struct Scryfall::CardList
- Scryfall::CardList
- Struct
- Value
- Object
Included Modules
- Enumerable(Scryfall::Card)
- JSON::Serializable
Defined in:
scryfall/models/card_list.crConstructors
Instance Method Summary
- #data : Array(Card)
-
#each(&)
Must yield this collection's elements to the block.
-
#fetch_next_page : CardList
Will make an api request using the next_page value if available
-
#fetch_prev_page : CardList
Will make an api request decrementing the page number if available
- #has_more : Bool
- #has_more? : Bool
- #next_page : URI | Nil
-
#page : Int32
Returns the current page number
- #params
- #prev_page : URI | Nil
- #total_cards : Int32
- #uri
- #uri=(uri : URI | Nil)
- #warnings : Array(JSON::Any)
Constructor Detail
Instance Method Detail
def each(&)
#
Description copied from module Enumerable(Scryfall::Card)
Must yield this collection's elements to the block.
Will make an api request using the next_page value if available
Will make an api request decrementing the page number if available