Sha256: e15ede0c1b3f005b8e930c4ea1376ac8f155f0ed02fb54eda65a9719e6f8eef9
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
require_relative 'rest_client' require_relative 'resource' module MTG class Supertype < Resource 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-1.0.1 | lib/mtg_sdk/supertype.rb |
mtg_sdk-1.0.0 | lib/mtg_sdk/supertype.rb |