|
@@ -1,5 +1,7 @@
|
|
|
# frozen_string_literal: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
|
|
+require './lib/api_error/base_error'
|
|
|
|
|
+
|
|
|
class CreatePokemonFromBase64Service < BaseService
|
|
class CreatePokemonFromBase64Service < BaseService
|
|
|
def execute(base64_encoded_pokemon)
|
|
def execute(base64_encoded_pokemon)
|
|
|
response = client.parse_base64(base64_encoded_pokemon)
|
|
response = client.parse_base64(base64_encoded_pokemon)
|