aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main/java/com/juick/components/service/BaseRestService.java
blob: d4bc369cb1aa786a7f3c2e6fbfe14c15b27f0f98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.juick.components.service;

import org.springframework.web.client.RestTemplate;

/**
 * Created by vitalyster on 15.12.2016.
 */
public abstract class BaseRestService {
    private RestTemplate rest;

    public BaseRestService(RestTemplate rest) {
        this.rest = rest;
    }

    public RestTemplate getRest() {
        return rest;
    }
}