RestClient
in contructor instead of set