Sha256: 164c2c4bec4c4f4699427439ffcf2521c0c95bb4f17d631e7324094f73476d3e

Contents?: true

Size: 330 Bytes

Versions: 7

Compression:

Stored size: 330 Bytes

Contents

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
roqua-core-api-0.0.35 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.32 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.31 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.30 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.29 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.28 lib/roqua/core_api/dossier_groups.rb
roqua-core-api-0.0.27 lib/roqua/core_api/dossier_groups.rb