class MTG::Type
Public Class Methods
all()
click to toggle source
Get all types
@return [Array<String>] All types
# File lib/mtg_sdk/type.rb, line 8 def self.all RestClient.get('types').body['types'] end
Get all types
@return [Array<String>] All types
# File lib/mtg_sdk/type.rb, line 8 def self.all RestClient.get('types').body['types'] end