Sha256: fc989af2782965de7e10f70dcd86b2772ed19f262cbb13405d77168451f2d87c
Contents?: true
Size: 531 Bytes
Versions: 22
Compression:
Stored size: 531 Bytes
Contents
module Roqua module CoreApi # @api private class CreateDossier < ActiveInteraction::Base model :session, class: Sessions::OAuthSession string :dossier_group_id hash :attributes, strip: false def execute response = session.post "/dossiers", person: attributes.delete(:person), dossier: attributes, dossier_group_id: dossier_group_id Models::Dossier.new(response) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems