class Userbin::Context

Public Instance Methods

location() click to toggle source
# File lib/userbin/models/context.rb, line 9
def location
  if attributes['location']
    Userbin::Location.new(attributes['location'])
  end
end
user_agent() click to toggle source
# File lib/userbin/models/context.rb, line 3
def user_agent
  if attributes['user_agent']
    Userbin::UserAgent.new(attributes['user_agent'])
  end
end