Sha256: 3573cbe9c5830f58d3e8b3d13560ae76c24d43f03ab0b1ae5b282182351cbc11

Contents?: true

Size: 569 Bytes

Versions: 2

Compression:

Stored size: 569 Bytes

Contents

require "ctws/engine"

module Ctws
  mattr_accessor :user_class
  mattr_accessor :device_class
  mattr_accessor :profile_class
  mattr_accessor :user_class_strong_params
  mattr_accessor :user_validate_with_password
  mattr_accessor :jwt_expiration_time
  mattr_accessor :jwt_auth_token_attrs

  def self.user_class
    @@user_class.constantize
  end
  def self.device_class
    @@device_class.constantize
  end
  def self.profile_class
    @@profile_class.constantize
  end
  
  def self.jwt_auth_token_attrs
    # TODO: implement
    @@jwt_auth_token_attrs
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ctws-0.1.10.alpha lib/ctws.rb
ctws-0.1.9.alpha lib/ctws.rb