class Wco::Site
def do_post
def do_post HTTParty.post( post_url, body: JSON.generate( body ), headers: { 'Content-Type' => 'application/hal+json' }, basic_auth: { username: username, password: password }, ) end
def do_post HTTParty.post( post_url, body: JSON.generate( body ), headers: { 'Content-Type' => 'application/hal+json' }, basic_auth: { username: username, password: password }, ) end