struct Scryfall::Card
- Scryfall::Card
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
scryfall/models/card.crConstructors
Instance Method Summary
- #all_parts : Array(Scryfall::RelatedCard) | Nil
- #all_parts=(all_parts : Array(Scryfall::RelatedCard) | Nil)
- #arena_id : Int32 | Nil
- #arena_id=(arena_id : Int32 | Nil)
- #artist : String | Nil
- #artist=(artist : String | Nil)
- #border_color : String
- #border_color=(border_color : String)
- #card_faces : Array(Scryfall::CardFace) | Nil
- #card_faces=(card_faces : Array(Scryfall::CardFace) | Nil)
- #cmc : Float32
- #cmc=(cmc : Float32)
- #collector_number : String
- #collector_number=(collector_number : String)
- #color_indicator : Array(String) | Nil
- #color_indicator=(color_indicator : Array(String) | Nil)
- #colors : Array(String)
- #colors=(colors : Array(String))
- #digital : Bool
- #digital=(digital : Bool)
- #edhrec_rank : Int32 | Nil
- #edhrec_rank=(edhrec_rank : Int32 | Nil)
- #flavor_text : String | Nil
- #flavor_text=(flavor_text : String | Nil)
- #foil : Bool
- #foil=(foil : Bool)
- #frame : String
- #frame=(frame : String)
- #full_art : Bool
- #full_art=(full_art : Bool)
- #hand_modifier : String | Nil
- #hand_modifier=(hand_modifier : String | Nil)
- #highres_image : Bool
- #highres_image=(highres_image : Bool)
- #id : UUID
- #id=(id : UUID)
- #illustration_id : URI | Nil
- #illustration_id=(illustration_id : URI | Nil)
- #image_uris : Hash(String, URI) | Nil
- #image_uris=(image_uris : Hash(String, URI) | Nil)
- #layout : String
- #layout=(layout : String)
- #legalities : Hash(String, String)
- #legalities=(legalities : Hash(String, String))
- #life_modifier : String | Nil
- #life_modifier=(life_modifier : String | Nil)
- #loyalty : String | Nil
- #loyalty=(loyalty : String | Nil)
- #mana_cost : String
- #mana_cost=(mana_cost : String)
- #mtgo_foil_id : Int32 | Nil
- #mtgo_foil_id=(mtgo_foil_id : Int32 | Nil)
- #mtgo_id : Int32 | Nil
- #mtgo_id=(mtgo_id : Int32 | Nil)
- #multiverse_ids : Array(Int32) | Nil
- #multiverse_ids=(multiverse_ids : Array(Int32) | Nil)
-
#name : String
Gameplay Fields
-
#name=(name : String)
Gameplay Fields
- #nonfoil : Bool
- #nonfoil=(nonfoil : Bool)
- #oracle_id : UUID
- #oracle_id=(oracle_id : UUID)
- #oracle_text : String | Nil
- #oracle_text=(oracle_text : String | Nil)
- #oversized : Bool
- #oversized=(oversized : Bool)
- #power : String | Nil
- #power=(power : String | Nil)
- #printed_name : String
- #printed_name=(printed_name : String)
- #printed_text : String
- #printed_text=(printed_text : String)
- #printed_type_line : String
- #printed_type_line=(printed_type_line : String)
- #prints_search_uri : URI
- #prints_search_uri=(prints_search_uri : URI)
- #rarity : String
- #rarity=(rarity : String)
- #related_cards : Array(Scryfall::RelatedCard) | Nil
- #related_cards=(related_cards : Array(Scryfall::RelatedCard) | Nil)
- #reprint : Bool
- #reprint=(reprint : Bool)
- #reserved : Bool
- #reserved=(reserved : Bool)
- #rulings_uri : URI
- #rulings_uri=(rulings_uri : URI)
- #scryfall_set_uri : URI
- #scryfall_set_uri=(scryfall_set_uri : URI)
- #scryfall_uri : URI
- #scryfall_uri=(scryfall_uri : URI)
-
#set : String
Print Fields
-
#set=(set : String)
Print Fields
- #set_name : String
- #set_name=(set_name : String)
- #set_search_uri : URI
- #set_search_uri=(set_search_uri : URI)
- #story_spotlight_number : Int32 | Nil
- #story_spotlight_number=(story_spotlight_number : Int32 | Nil)
- #story_spotlight_uri : URI | Nil
- #story_spotlight_uri=(story_spotlight_uri : URI | Nil)
- #toughness : String | Nil
- #toughness=(toughness : String | Nil)
- #type_line : String
- #type_line=(type_line : String)
- #uri : URI
- #uri=(uri : URI)
- #watermark : String | Nil
- #watermark=(watermark : String | Nil)