Sha256: ee3d1afe6fcb5023ce093a1dd4ec0cf488e84a99ececed31ce34d68aed0d6047

Contents?: true

Size: 227 Bytes

Versions: 3

Compression:

Stored size: 227 Bytes

Contents

module Pokemon
  class Subtype
    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
pokemon_tcg_sdk-3.0.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-2.5.0 lib/pokemon_tcg_sdk/subtype.rb
pokemon_tcg_sdk-2.4.0 lib/pokemon_tcg_sdk/subtype.rb