package br.com.alura.agenda.retrofit;

import retrofit2.Retrofit;
import retrofit2.converter.jackson.JacksonConverterFactory;

public class RetrofitInicializador {
    private final Retrofit retrofit;

    public RetrofitInicializador() {
        retrofit = new Retrofit.Builder()
                .baseUrl("http://192.168.25.8:8080/api/")
                .addConverterFactory(JacksonConverterFactory.create())
                .build();
    }
}

Add Retrofit with Jackson converter to handle http requests
Add Retrofit with Jackson converter to handle http requests
