Sha256: 665ad5c59243864eb274a41107fb7b00f09a05118ca63363871eb325654380b8

Contents?: true

Size: 329 Bytes

Versions: 6

Compression:

Stored size: 329 Bytes

Contents

module Roqua
  module CoreApi
    # @api private
    class DossierGroups < ActiveInteraction::Base
      model :session, class: Sessions::AuthSession

      def execute
        response = session.get "/dossier_groups"
        response['dossier_groups'].map { |attrs| Models::DossierGroup.new(attrs) }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
roqua-core-api-0.1.1 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.1.0 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.39 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.38 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.37 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.36 lib/roqua/core_api/dossier_groups.rb