Sha256: acffec474152b565f3ca2e81d9919325f20849a85f49a0a4f0588d63ff7412e0

Contents?: true

Size: 197 Bytes

Versions: 6

Compression:

Stored size: 197 Bytes

Contents

module MTG
  class Type
    include RestClient
    
    # Get all types
    #
    # @return [Array<String>]  All types
    def self.all
      RestClient.get('types').body['types']
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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