Solved issue with HTTPParty