Sha256: 1cc826545ff12ec14de8a98a309e6040b61deb79914231e8ea471ec7ed9573f1

Contents?: true

Size: 465 Bytes

Versions: 2

Compression:

Stored size: 465 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roqua-core-api-0.0.8 lib/roqua/core_api/sessions/dossier_session.rb
roqua-core-api-0.0.7 lib/roqua/core_api/sessions/dossier_session.rb