Module: Unimatrix

Defined in:
lib/unimatrix/error.rb,
lib/unimatrix/parser.rb,
lib/unimatrix/request.rb,
lib/unimatrix/version.rb,
lib/unimatrix/resource.rb,
lib/unimatrix/response.rb,
lib/unimatrix/operation.rb,
lib/unimatrix/serializer.rb,
lib/unimatrix/blueprintable.rb,
lib/unimatrix/configuration.rb,
lib/unimatrix/timeout_error.rb,
lib/unimatrix/attribute_error.rb,
lib/unimatrix/forbidden_error.rb,
lib/unimatrix/not_found_error.rb,
lib/unimatrix/dynamic_resource.rb,
lib/unimatrix/bad_request_error.rb,
lib/unimatrix/authorization_error.rb,
lib/unimatrix/blueprint_operation.rb,
lib/unimatrix/missing_policy_error.rb,
lib/unimatrix/missing_parameter_error.rb,
lib/unimatrix/malformed_parameter_error.rb

Defined Under Namespace

Modules: Activist, Alchemist, Analyst, Archivist, Authorization, Blueprintable, Cartographer, Curator, Distributor, Historian, Iris, Organizer, Player, Quartermaster, Regent, Zephyrus Classes: AttributeError, AuthorizationError, BadRequestError, BlueprintOperation, Configuration, DynamicResource, Error, ForbiddenError, MalformedParameterError, MissingParameterError, MissingPolicyError, NotFoundError, Operation, Parser, Request, Resource, Response, Serializer, TimeoutError

Constant Summary collapse

VERSION =
begin
  version = File.read( File.join( __dir__, "../../VERSION" ) )
  version.scan( /\A.*/ ).first
rescue 
  raise "Error: The Unimatrix SDK VERSION file is missing or invalid."
  exit( 1 )
end

Class Method Summary collapse

Class Method Details

.configuration(&block) ⇒ Object



5
6
7
8
# File 'lib/unimatrix/configuration.rb', line 5

def self.configuration( &block )
  Configuration.instance().instance_eval( &block ) unless block.nil?
  Configuration.instance()
end