Sha256: c18cfae347e83f4e1aab87d95176763a6e4553da1fafd83801ad054ddcad6a72

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 KB

Contents

require 'active_interaction'
require 'roqua/core_api/version'
require 'roqua/core_api/sessions'
require 'roqua/core_api/models'
require 'roqua/core_api/base'

module Roqua
  module CoreApi
    extend ActiveSupport::Autoload
    # Raised when a request failed due to an expired/non-existant session.
    class NoSession < StandardError; end
    class Unauthorized < StandardError; end

    autoload :CreateDossier
    autoload :CreateDossierGroup
    autoload :CreateDossierGroupExportSynchronously
    autoload :CreateProfessional
    autoload :CreateTokenSession
    autoload :DestroyTokenSession
    autoload :Dossiers
    autoload :DossierGroups
    autoload :DeleteDossierGroupRight
    autoload :ListDossierGroupRights
    autoload :People
    autoload :Person
    autoload :SendEmailTo
    autoload :SendNotification
    autoload :SendTextMessageTo
    autoload :SendInviteEmail
    autoload :SsoLogin
    autoload :UpdatePerson
    autoload :UpdateDossier

    def self.load_fabricators
      gem_root = Gem::Specification.find_by_name("roqua-core-api").gem_dir
      Fabrication::Config.path_prefixes << gem_root unless Fabrication::Config.path_prefixes.include? gem_root
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
roqua-core-api-0.7.0 lib/roqua/core_api.rb
roqua-core-api-0.6.0 lib/roqua/core_api.rb
roqua-core-api-0.5.0 lib/roqua/core_api.rb
roqua-core-api-0.4.0 lib/roqua/core_api.rb
roqua-core-api-0.3.1 lib/roqua/core_api.rb