Class: DocomoImageRecognition::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/docomo_image_recognition/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
# File 'lib/docomo_image_recognition/configuration.rb', line 5

def initialize
  self.base_url = 'https://api.apigw.smt.docomo.ne.jp/imageRecognition/v1/recognize'
end

Instance Attribute Details

#base_urlObject

Returns the value of attribute base_url.



3
4
5
# File 'lib/docomo_image_recognition/configuration.rb', line 3

def base_url
  @base_url
end