Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

execonline-inc/rails_request_parser

Repository files navigation

RailsRequestParser

Parse Rails Request Object

Install

Add this line to your application's Gemfile:

gem 'rails_request_parser'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rails_request_parser

Usage

request_parser = RailsRequestParser.new(request)
request_parser.is_mac_os? #=> true
request_parser.is_electron_client? #=> true
request_parser.is_windows_os? #=> false
request_parser.is_chrome_browser? #=> true
request_parser.is_firefox_browser? #=> true
request_parser.is_safari_browser? #=> true

License

MIT

About

Parse Rails Requests Objects

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published