class Pronto::Gitlab
def position_sha
def position_sha # Better to get those informations from Gitlab API directly than trying to look for them here. # (FYI you can't use `pull` method because index api does not contains those informations) @position_sha ||= begin data = client.merge_request(slug, pull_id) data.diff_refs.to_h end end