aboutsummaryrefslogtreecommitdiff
path: root/juick-server-web/src/main/java/com/juick/service/BaseRestService.java
blob: 4ccc39595b1674d0227f19c2bde82d328183e6c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.juick.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;
    }
}