Class: Aranha::Parsers::Firefox::UriFromHar
- Inherits:
- 
      Object
      
        - Object
- Aranha::Parsers::Firefox::UriFromHar
 
- Defined in:
- lib/aranha/parsers/firefox/uri_from_har.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_file(path) ⇒ Object
| 10 11 12 | # File 'lib/aranha/parsers/firefox/uri_from_har.rb', line 10 def from_file(path) new(::JSON.parse(path.to_pathname.read)) end | 
Instance Method Details
#request_data ⇒ Object
| 21 | # File 'lib/aranha/parsers/firefox/uri_from_har.rb', line 21 def request_data; end | 
#result ⇒ Object
| 17 18 19 | # File 'lib/aranha/parsers/firefox/uri_from_har.rb', line 17 def result data.fetch('log').fetch('entries').map { |e| e.fetch('request').fetch('url') } end |