Class: Wavix::TwoFa::Client
- Inherits:
-
Object
- Object
- Wavix::TwoFa::Client
- Defined in:
- lib/wavix/two_fa/client.rb
Instance Method Summary collapse
- #events ⇒ Wavix::Events::Client
- #initialize(client:) ⇒ void constructor
- #sessions ⇒ Wavix::Sessions::Client
- #verification ⇒ Wavix::Verification::Client
Constructor Details
#initialize(client:) ⇒ void
9 10 11 |
# File 'lib/wavix/two_fa/client.rb', line 9 def initialize(client:) @client = client end |
Instance Method Details
#events ⇒ Wavix::Events::Client
24 25 26 |
# File 'lib/wavix/two_fa/client.rb', line 24 def events @events ||= Wavix::TwoFa::Events::Client.new(client: @client) end |
#sessions ⇒ Wavix::Sessions::Client
19 20 21 |
# File 'lib/wavix/two_fa/client.rb', line 19 def sessions @sessions ||= Wavix::TwoFa::Sessions::Client.new(client: @client) end |
#verification ⇒ Wavix::Verification::Client
14 15 16 |
# File 'lib/wavix/two_fa/client.rb', line 14 def verification @verification ||= Wavix::TwoFa::Verification::Client.new(client: @client) end |