Class: Telegram::Bot::Types::EncryptedCredentials
- Defined in:
- sig/telegram/bot/types/encrypted_credentials.rbs
Instance Attribute Summary collapse
-
#data ⇒ String
readonly
Returns the value of attribute data.
-
#hash ⇒ String
readonly
Returns the value of attribute hash.
-
#secret ⇒ String
readonly
Returns the value of attribute secret.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#data ⇒ String (readonly)
Returns the value of attribute data.
8 9 10 |
# File 'sig/telegram/bot/types/encrypted_credentials.rbs', line 8 def data @data end |
#hash ⇒ String (readonly)
Returns the value of attribute hash.
9 10 11 |
# File 'sig/telegram/bot/types/encrypted_credentials.rbs', line 9 def hash @hash end |
#secret ⇒ String (readonly)
Returns the value of attribute secret.
10 11 12 |
# File 'sig/telegram/bot/types/encrypted_credentials.rbs', line 10 def secret @secret end |
Class Method Details
.new(data:, hash:, secret:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/encrypted_credentials.rbs', line 6
def self.new: (data: String, hash: String, secret: String) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|