Sha256: 6f3fbccc13e330cd923539b637ba5e3de170f375def914602f6deee624b81206

Contents?: true

Size: 392 Bytes

Versions: 11

Compression:

Stored size: 392 Bytes

Contents

module Roqua
  module CoreApi
    # @api private
    class CreateDossierGroupExportSynchronously < ActiveInteraction::Base
      object :session, class: Sessions::AuthSession
      string :dossier_group_id

      def execute
        response = session.post "/dossier_groups/#{dossier_group_id}/exports"
        Models::Export.new(response['dossier_group_export'])
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
roqua-core-api-0.7.0 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.6.0 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.5.0 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.4.0 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.3.1 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.3.0 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.2.4 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.2.3 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.2.2 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.2.1 lib/roqua/core_api/create_dossier_group_export_synchronously.rb
roqua-core-api-0.2.0 lib/roqua/core_api/create_dossier_group_export_synchronously.rb