Sha256: bb21387ece5f5325e8924096ed111c82d94cc48ba29ab2d28a53bc491e3d8579
Contents?: true
Size: 252 Bytes
Versions: 3
Compression:
Stored size: 252 Bytes
Contents
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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mtg_sdk-1.1.1 | lib/mtg_sdk/subtype.rb |
mtg_sdk-1.1.0 | lib/mtg_sdk/subtype.rb |
mtg_sdk-1.0.2 | lib/mtg_sdk/subtype.rb |