class Bobot::Configuration
Attributes
app_id[RW]
app_secret[RW]
async[RW]
commander_queue_name[RW]
domains[RW]
pages[RW]
skip_code[RW]
verify_token[RW]
Public Instance Methods
domains=(rhs)
click to toggle source
# File lib/bobot/configuration.rb, line 5 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