Module: NucleusCore

Defined in:
lib/nucleus_core/workflow.rb,
lib/nucleus_core.rb,
lib/nucleus_core/cli.rb,
lib/nucleus_core/version.rb,
lib/nucleus_core/operation.rb,
lib/nucleus_core/responder.rb,
lib/nucleus_core/simple_object.rb,
lib/nucleus_core/request_adapter.rb

Overview

rubocop:disable Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity, Metrics/ClassLength, Metrics/AbcSize:

Defined Under Namespace

Classes: BadRequest, BaseException, CLI, Configuration, CsvResponse, ErrorView, JsonResponse, NoResponse, NotAuthorized, NotFound, Operation, PdfResponse, RequestAdapter, Responder, ResponseAdapter, SimpleObject, TextResponse, Unprocessable, View, Workflow, XmlResponse

Constant Summary collapse

VERSION =
"0.2.1".freeze

Class Method Summary collapse

Class Method Details

.configurationObject



51
52
53
# File 'lib/nucleus_core.rb', line 51

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



59
60
61
# File 'lib/nucleus_core.rb', line 59

def configure
  yield(configuration)
end

.resetObject



55
56
57
# File 'lib/nucleus_core.rb', line 55

def reset
  @configuration = Configuration.new
end