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