Sha256: dd8fc71e06aab2dca8ff640e00d35d44e85149acbe85fec8b979c65273380ff0
Contents?: true
Size: 468 Bytes
Versions: 11
Compression:
Stored size: 468 Bytes
Contents
module Bobot class Configuration attr_accessor :app_id, :app_secret, :verify_token, :skip_code, :domains, :async, :commander_queue_name, :pages def domains=(rhs) if rhs.nil? @domains = nil elsif rhs.respond_to?(:to_str) @domains = rhs.split(",").map(&:strip) elsif rhs.is_a?(Array) @domains = rhs else raise Bobot::FieldFormat.new("domains should be a string or an array") end end end end
Version data entries
11 entries across 11 versions & 1 rubygems