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.
Test Setup Failed
Push — master ( d0e1fe...39ef5b )
by Leonardo
01:32
created

Configuration   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A static_bics? 0 3 1
A add() 0 3 1
1
# frozen_string_literal: true
2
3
module IbanBic
4
  class Configuration
5
    attr_accessor :iban_meta_path, :use_static_bics, :bics_table_name, :static_bics_path
6
7
    def add(country)
8
      IbanBic.country_validators[country] = Proc.new
9
    end
10
11
    def static_bics?
12
      use_static_bics
13
    end
14
  end
15
end
16