Module: VoiceRecognitionBing

Defined in:
lib/voice_recognition_bing.rb,
lib/voice_recognition_bing/service.rb,
lib/voice_recognition_bing/version.rb,
lib/voice_recognition_bing/ms_service.rb,
lib/voice_recognition_bing/credentials.rb,
lib/voice_recognition_bing/authorization.rb,
lib/voice_recognition_bing/configuration.rb

Defined Under Namespace

Classes: Authorization, Configuration, Credentials, InvalidCredentials, MSService, NullCredentials, Service

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



10
11
12
# File 'lib/voice_recognition_bing.rb', line 10

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



18
19
20
# File 'lib/voice_recognition_bing.rb', line 18

def configure
  yield(configuration)
end

.resetObject



14
15
16
# File 'lib/voice_recognition_bing.rb', line 14

def reset
  @configuration = Configuration.new
end