Sha256: c2845a8e61be40a6bc5874f058cf051c649bf51639a13586737617979f23a49a

Contents?: true

Size: 424 Bytes

Versions: 16

Compression:

Stored size: 424 Bytes

Contents

module Roqua
  module CoreApi
    # @api private
    class CreateDossierGroup < ActiveInteraction::Base
      model :session, class: Sessions::OAuthSession
      string :organization_id
      hash :attributes, strip: false

      def execute
        response = session.post "/dossier_groups", dossier_group: attributes, organization_id: organization_id
        Models::DossierGroup.new(response)
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
roqua-core-api-0.0.26 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.25 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.24 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.22 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.21 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.20 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.19 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.18 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.17 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.16 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.15 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.14 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.13 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.12 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.11 lib/roqua/core_api/create_dossier_group.rb
roqua-core-api-0.0.10 lib/roqua/core_api/create_dossier_group.rb