Sha256: c6e2cd3456e8ccd1b5b2309f1f8844cba1332ee0750064ef541e77a4026e5a2e

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 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
      end
    else
      class Model < StandardModel
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
softwear-lib-1.7.3 lib/softwear/auth/model.rb
softwear-lib-1.7.2 lib/softwear/auth/model.rb
softwear-lib-1.7.1 lib/softwear/auth/model.rb