class Riddler::ContextBuilders::UserAgent

Public Instance Methods

process() click to toggle source

Look for the user_agent header and build a drop for that

# File lib/riddler/context_builders/user_agent.rb, line 9
def process
  drop = UserAgentDrop.new context.headers.user_agent
  context.assign "user_agent", drop
end