Sha256: d298449f382a333231a6d1544b1831ae857bf11c20338007f707f2dbb1e89407

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 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

2 entries across 2 versions & 1 rubygems

Version Path
mtg_sdk-3.2.0 lib/mtg_sdk/supertype.rb
mtg_sdk-3.1.0 lib/mtg_sdk/supertype.rb