Class: DocomoImageRecognition::Configuration
- Inherits:
-
Object
- Object
- DocomoImageRecognition::Configuration
- Defined in:
- lib/docomo_image_recognition/configuration.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_url ⇒ Object
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 |