Module: Telegram::Bot::Botan::ClientHelpers
- Included in:
- Client
- Defined in:
- lib/telegram/bot/botan/client_helpers.rb
Overview
Helpers for botan.io metrics.
Instance Attribute Summary collapse
-
#botan ⇒ Object
readonly
Returns the value of attribute botan.
Instance Method Summary collapse
Instance Attribute Details
#botan ⇒ Object (readonly)
Returns the value of attribute botan.
6 7 8 |
# File 'lib/telegram/bot/botan/client_helpers.rb', line 6 def botan @botan end |
Instance Method Details
#initialize(botan: nil, **options) ⇒ Object
8 9 10 11 |
# File 'lib/telegram/bot/botan/client_helpers.rb', line 8 def initialize(*, botan: nil, **) super @botan = Botan.wrap(botan, id: id) if botan end |