class YandexImageModeration::OptionSetter

Responsible for collecting options in the DSL and creating lookup objects using those options.

Attributes

config[RW]

Public Class Methods

new() click to toggle source
# File lib/yandex_image_moderation/config.rb, line 21
def initialize
  @config = OpenStruct.new
  @config.url = 'https://cv-albion.ydf.yandex.net/moderate'.freeze
end