class BitbucketClient

def post(url, body, path, position)

def post(url, body, path, position)
  options = {
    body: {
      content: {
        raw: body
      },
      inline: {
        to: position,
        path: path
      }
    }.to_json,
    headers: {
      'Content-Type': 'application/json'
    }
  }
  self.class.post(url, options)
end