MagicTheGathering/mtg-sdk-ruby

View on GitHub
lib/mtg_sdk/supertype.rb

Summary

Maintainability
A
0 mins
Test Coverage
module MTG
  class Supertype
    include RestClient
    
    # Get all supertypes
    #
    # @return [Array<String>]  All supertypes
    def self.all
      RestClient.get('supertypes').body['supertypes']
    end
  end
end