Sha256: ae0270b2b14a8c5ec548bd2bb77df39708a9db3eb7f6673c7c9f6c9f751896f3

Contents?: true

Size: 733 Bytes

Versions: 8

Compression:

Stored size: 733 Bytes

Contents

require 'command_service_object/version'
require 'command_service_object/configuration'
require 'command_service_object/failure'
require 'command_service_object/helpers/model_helper'
require 'command_service_object/helpers/controller_helper'
require 'command_service_object/helpers/failure_helper'
require 'command_service_object/hooks'
require 'virtus'

if defined?(Rails) && Rails::VERSION::STRING >= '3.0'
  require 'command_service_object/railtie'
end

module CommandServiceObject
  class << self
    attr_accessor :configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.reset
    @configuration = Configuration.new
  end

  def self.configure
    yield(configuration)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
command_service_object-1.0.0 lib/command_service_object.rb
command_service_object-0.6.5 lib/command_service_object.rb
command_service_object-0.6.4 lib/command_service_object.rb
command_service_object-0.6.3 lib/command_service_object.rb
command_service_object-0.6.2 lib/command_service_object.rb
command_service_object-0.6.1 lib/command_service_object.rb
command_service_object-0.6.0 lib/command_service_object.rb
command_service_object-0.5.11 lib/command_service_object.rb