Sha256: 4a1c0ee0bbf504dc773781a6816bb9ceca19022de70a020ad015b6e5bd76d696
Contents?: true
Size: 545 Bytes
Versions: 1
Compression:
Stored size: 545 Bytes
Contents
# RailsRequestParser > Parse Rails Request Object ## Install Add this line to your application's Gemfile: ```ruby gem 'rails_request_parser' ``` And then execute: ``` $ bundle ``` Or install it yourself as: ``` $ gem install rails_request_parser ``` ## Usage ```ruby 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 ``` ## License MIT
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_request_parser-0.2.0 | README.md |