Class: BetterAuth::Adapters::Base
- Inherits:
-
Object
- Object
- BetterAuth::Adapters::Base
- Defined in:
- lib/better_auth/adapters/base.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #count ⇒ Object
- #create ⇒ Object
- #delete ⇒ Object
- #delete_many ⇒ Object
- #find_many ⇒ Object
- #find_one ⇒ Object
-
#initialize(options) ⇒ Base
constructor
A new instance of Base.
- #transaction {|_self| ... } ⇒ Object
- #update ⇒ Object
- #update_many ⇒ Object
Constructor Details
#initialize(options) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/better_auth/adapters/base.rb', line 8 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/better_auth/adapters/base.rb', line 6 def @options end |
Instance Method Details
#count ⇒ Object
40 41 42 |
# File 'lib/better_auth/adapters/base.rb', line 40 def count(**) raise NotImplementedError end |
#create ⇒ Object
12 13 14 |
# File 'lib/better_auth/adapters/base.rb', line 12 def create(**) raise NotImplementedError end |
#delete ⇒ Object
32 33 34 |
# File 'lib/better_auth/adapters/base.rb', line 32 def delete(**) raise NotImplementedError end |
#delete_many ⇒ Object
36 37 38 |
# File 'lib/better_auth/adapters/base.rb', line 36 def delete_many(**) raise NotImplementedError end |
#find_many ⇒ Object
20 21 22 |
# File 'lib/better_auth/adapters/base.rb', line 20 def find_many(**) raise NotImplementedError end |
#find_one ⇒ Object
16 17 18 |
# File 'lib/better_auth/adapters/base.rb', line 16 def find_one(**) raise NotImplementedError end |
#transaction {|_self| ... } ⇒ Object
44 45 46 |
# File 'lib/better_auth/adapters/base.rb', line 44 def transaction yield self end |
#update ⇒ Object
24 25 26 |
# File 'lib/better_auth/adapters/base.rb', line 24 def update(**) raise NotImplementedError end |
#update_many ⇒ Object
28 29 30 |
# File 'lib/better_auth/adapters/base.rb', line 28 def update_many(**) raise NotImplementedError end |