Module: DocomoImageRecognition

Defined in:
lib/docomo_image_recognition.rb,
lib/docomo_image_recognition/error.rb,
lib/docomo_image_recognition/client.rb,
lib/docomo_image_recognition/version.rb,
lib/docomo_image_recognition/configuration.rb

Defined Under Namespace

Classes: ApiError, Client, Configuration, DownloadError, Error

Constant Summary collapse

MAJOR =
0
MINOR =
1
PATCH =
1
VERSION =
"#{MAJOR}.#{MINOR}.#{PATCH}"

Class Method Summary collapse

Class Method Details

.configurationObject



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

def self.configuration
  @configuration ||= Configuration.new
end

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

Yields:



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

def self.configure
  yield configuration
end