Sha256: 67aadf731e801fb3ed463fbfc74bb8bf256bdd5105f41fa2085f55f87350ae7e

Contents?: true

Size: 222 Bytes

Versions: 6

Compression:

Stored size: 222 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mtg_sdk-3.2.1 lib/mtg_sdk/supertype.rb
mtg_sdk-3.0.0 lib/mtg_sdk/supertype.rb
mtg_sdk-2.2.0 lib/mtg_sdk/supertype.rb
mtg_sdk-2.1.0 lib/mtg_sdk/supertype.rb
mtg_sdk-2.0.1 lib/mtg_sdk/supertype.rb
mtg_sdk-2.0.0 lib/mtg_sdk/supertype.rb