module Roqua module CoreApi module Sessions class DossierSession < DossierGroupSession attr_reader :dossier_id def initialize(dossier_id, dossier_group_id, organization_id, server_url = ENV["CORE_URL"]) @dossier_id = dossier_id super(dossier_group_id, organization_id, server_url) end private def base_url super + "/dossiers/#{dossier_id}" end end end end end