class Store include HTTParty base_uri 'http://localhost:3000' def post(text) options = { :body => {:status => text}, :token => @auth } self.class.post('/api/clients', options) end end