Sha256: e0f879fd5bb306427eaa1fa93e3e6ccdca8fb733b5390ed16171ece740bcd857

Contents?: true

Size: 331 Bytes

Versions: 47

Compression:

Stored size: 331 Bytes

Contents

require 'softwear/auth/standard_model'
require 'softwear/auth/stubbed_model'

module Softwear
  module Auth
    if Rails.env.development? && ENV['AUTH_SERVER'] != 'true'
      class Model < StubbedModel
        STUBBED = true
      end
    else
      class Model < StandardModel
        STUBBED = false
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
softwear-lib-3.3.7 lib/softwear/auth/model.rb
softwear-lib-3.3.6 lib/softwear/auth/model.rb
softwear-lib-3.3.5 lib/softwear/auth/model.rb
softwear-lib-3.1.5 lib/softwear/auth/model.rb
softwear-lib-3.1.4 lib/softwear/auth/model.rb
softwear-lib-3.1.3 lib/softwear/auth/model.rb
softwear-lib-3.1.2 lib/softwear/auth/model.rb
softwear-lib-3.1.1 lib/softwear/auth/model.rb
softwear-lib-3.1.0 lib/softwear/auth/model.rb
softwear-lib-3.0.0 lib/softwear/auth/model.rb
softwear-lib-2.1.7 lib/softwear/auth/model.rb
softwear-lib-2.1.6 lib/softwear/auth/model.rb
softwear-lib-2.1.4 lib/softwear/auth/model.rb
softwear-lib-2.1.3 lib/softwear/auth/model.rb
softwear-lib-2.1.2 lib/softwear/auth/model.rb
softwear-lib-2.1.1 lib/softwear/auth/model.rb
softwear-lib-2.1.0 lib/softwear/auth/model.rb
softwear-lib-2.0.13 lib/softwear/auth/model.rb
softwear-lib-2.0.12 lib/softwear/auth/model.rb
softwear-lib-2.0.11 lib/softwear/auth/model.rb