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.

Track   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 15
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A set() 0 9 1
A url() 0 3 1
1
module Route4me
2
  class Track
3
    def self.url
4
      '/track/set.php'
5
    end
6
7
    def self.set(params={})
8
      get = Util.extract(params, [
9
        :format, :member_id, :route_id, :tx_id, :vehicle_id, :course,
10
        :speed, :lat, :lng, :altitude, :device_type, :device_guid,
11
        :device_timestamp, :app_version
12
      ])
13
14
      Route4me.request(:get, self.url, get: get)[:status]
15
    end
16
  end
17
end
18