Class: VoiceRecognitionBing::Credentials
- Inherits:
-
Struct
- Object
- Struct
- VoiceRecognitionBing::Credentials
- Defined in:
- lib/voice_recognition_bing/credentials.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
Instance Attribute Details
#token ⇒ Object
Returns the value of attribute token
2 3 4 |
# File 'lib/voice_recognition_bing/credentials.rb', line 2 def token @token end |
Instance Method Details
#valid? ⇒ Boolean
3 4 5 |
# File 'lib/voice_recognition_bing/credentials.rb', line 3 def valid? !token.nil? && !token.empty? end |