Sha256: 1139019f6efd55b9b0c7fe8a51bf439bed2a5a15a156c17e19e31f6acd5fda44
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
require_relative 'rest_client' require_relative 'resource' module MTG class Type < Resource include RestClient # Get all types # # @return [Array<String>] All types def self.all RestClient.get('types').body['types'] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mtg_sdk-1.0.1 | lib/mtg_sdk/type.rb |
mtg_sdk-1.0.0 | lib/mtg_sdk/type.rb |