Sha256: ca17f502f2c51df6dbcebff36abcbcffed69906e63b4822138d0cd54d96c93e9
Contents?: true
Size: 532 Bytes
Versions: 3
Compression:
Stored size: 532 Bytes
Contents
require_relative "base_request_options" module RemoveBg class RequestOptions < BaseRequestOptions SIZE_REGULAR = "regular" SIZE_MEDIUM = "medium" SIZE_HD = "hd" SIZE_4K = "4k" SIZE_AUTO = "auto" FOREGROUND_TYPE_AUTO = "auto" FOREGROUND_TYPE_PERSON = "person" FOREGROUND_TYPE_PRODUCT = "product" CHANNELS_RGBA = "rgba" CHANNELS_ALPHA = "alpha" def initialize(raw_options = {}) options = raw_options.dup options[:size] ||= SIZE_AUTO super(options) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
remove_bg-1.4.1 | lib/remove_bg/request_options.rb |
remove_bg-1.4.0 | lib/remove_bg/request_options.rb |
remove_bg-1.3.0 | lib/remove_bg/request_options.rb |