Sha256: a5937ff0024581c0d2785a7946b94af1d25f5a746bee45afd228b54c2114bb49

Contents?: true

Size: 223 Bytes

Versions: 2

Compression:

Stored size: 223 Bytes

Contents

module MTG
  class Subtype
    include RestClient
    
    # Get all subtypes
    #
    # @return [Array<String>]  All subtypes
    def self.all
      RestClient.get('subtypes').body['subtypes']
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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