class UwsgiItClient::Poster

Attributes

result[R]

Public Class Methods

new(url, body, auth_data) click to toggle source
# File lib/uwsgi_it_client/poster.rb, line 7
def initialize(url, body, auth_data)
  @result = post url, body: body.to_json, basic_auth: auth_data
end

Private Instance Methods

post(*args) click to toggle source
# File lib/uwsgi_it_client/poster.rb, line 13
def post(*args)
  self.class.post *args
end