Sha256: a86a2d4f0409a4059fd3cc22cd503a5e97f63fc105a7cc050ff0bae5262fbbee

Contents?: true

Size: 328 Bytes

Versions: 22

Compression:

Stored size: 328 Bytes

Contents

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

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
softwear-lib-1.8.9 lib/softwear/auth/model.rb
softwear-lib-1.8.7 lib/softwear/auth/model.rb
softwear-lib-1.8.6 lib/softwear/auth/model.rb
softwear-lib-1.8.5 lib/softwear/auth/model.rb
softwear-lib-1.8.3 lib/softwear/auth/model.rb
softwear-lib-1.8.2 lib/softwear/auth/model.rb
softwear-lib-1.8.1 lib/softwear/auth/model.rb
softwear-lib-1.8.0 lib/softwear/auth/model.rb
softwear-lib-1.7.20 lib/softwear/auth/model.rb
softwear-lib-1.7.19 lib/softwear/auth/model.rb
softwear-lib-1.7.18 lib/softwear/auth/model.rb
softwear-lib-1.7.17 lib/softwear/auth/model.rb
softwear-lib-1.7.16 lib/softwear/auth/model.rb
softwear-lib-1.7.15 lib/softwear/auth/model.rb
softwear-lib-1.7.13 lib/softwear/auth/model.rb
softwear-lib-1.7.11 lib/softwear/auth/model.rb
softwear-lib-1.7.10 lib/softwear/auth/model.rb
softwear-lib-1.7.9 lib/softwear/auth/model.rb
softwear-lib-1.7.8 lib/softwear/auth/model.rb
softwear-lib-1.7.7 lib/softwear/auth/model.rb