def roy(options={})
      options.each do |key,value|
        case key
        when :allow
          (conf.allow ||= Set.new).merge(value)
          conf.allow.add(:head) if value.member?(:get)
        when :use
          value.each do |name|
            if name.is_a?(Symbol)
              require "roy/#{name}"
              const = "#{name}".capitalize.gsub(/_(\w)/) {|m| m[1].upcase }.to_sym
              name = Roy.const_get(const)
            end
            include name
          end
        else
          conf.send(:"#{key}=", value)
        end
      end
    end
def roy(options={})
      options.each do |key,value|
        case key
        when :allow
          (conf.allow ||= Set.new).merge(value)
          conf.allow.add(:head) if value.member?(:get)
        when :use
          value.each do |name|
            if name.is_a?(Symbol)
              require "roy/#{name}"
              const = "#{name}".capitalize.gsub(/_(\w)/) {|m| m[1].upcase }.to_sym
              name = Roy.const_get(const)
            end
            include name
          end
        else
          conf.send(:"#{key}=", value)
        end
      end
    end
Set options for the application