Sha256: 1f2372fad2584e78ace7dcc0cfc0c1fc0c8e5de91603b2133a238a0804aa32f3

Contents?: true

Size: 744 Bytes

Versions: 7

Compression:

Stored size: 744 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_dependency '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

7 entries across 7 versions & 1 rubygems

Version Path
command_service_object-0.5.10 lib/command_service_object.rb
command_service_object-0.5.9 lib/command_service_object.rb
command_service_object-0.5.8 lib/command_service_object.rb
command_service_object-0.5.7 lib/command_service_object.rb
command_service_object-0.5.6 lib/command_service_object.rb
command_service_object-0.5.5 lib/command_service_object.rb
command_service_object-0.5.2 lib/command_service_object.rb