Module: CognitiveVision
- Defined in:
- lib/cognitive_vision.rb,
lib/cognitive_vision/tag.rb,
lib/cognitive_vision/face.rb,
lib/cognitive_vision/adult.rb,
lib/cognitive_vision/version.rb,
lib/cognitive_vision/category.rb,
lib/cognitive_vision/connection.rb,
lib/cognitive_vision/description.rb,
lib/cognitive_vision/analyze_image.rb,
lib/cognitive_vision/configuration.rb,
lib/cognitive_vision/image_features.rb,
lib/cognitive_vision/analyze_response.rb,
lib/cognitive_vision/image_feature/tag.rb,
lib/cognitive_vision/image_feature/face.rb,
lib/cognitive_vision/description_caption.rb,
lib/cognitive_vision/image_feature/adult.rb,
lib/cognitive_vision/image_feature/category.rb,
lib/cognitive_vision/image_feature/description.rb
Defined Under Namespace
Modules: ImageFeature
Classes: Adult, AnalyzeImage, AnalyzeResponse, Category, Configuration, Connection, Description, DescriptionCaption, Face, ImageFeatures, RateLimitError, Tag
Constant Summary
collapse
- VERSION =
'0.4.3'.freeze
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
22
23
24
|
# File 'lib/cognitive_vision.rb', line 22
def self.configuration
@configuration ||= Configuration.new
end
|
26
27
28
|
# File 'lib/cognitive_vision.rb', line 26
def self.configure
yield(configuration)
end
|