Sha256: bda08635ed1602df86c22affa31133fe7cdbb98ef22230769e2b320178ff7dac

Contents?: true

Size: 212 Bytes

Versions: 6

Compression:

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

6 entries across 6 versions & 1 rubygems

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