GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Route   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 19
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A get() 0 7 1
A url() 0 3 1
A delete() 0 5 1
1
module Route4me
2
  class Route
3
    def self.url
4
      '/api.v4/route.php'
5
    end
6
7
    def self.get(params={})
8
      get = Util.extract(params, [
9
        :route_id, :directions, :route_path_output, :device_tracking_history,
10
        :limit, :offset, :original
11
      ])
12
      Route4me.request(:get, self.url, get: get)
13
    end
14
15
    def self.delete(params={})
16
      get = Util.extract(params, [:route_id])
17
      status = Route4me.request(:delete, self.url, get: get)
18
      status[:deleted]
19
    end
20
  end
21
end
22