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 ( 0936b2...c2ead7 )
by Leonardo
01:22
created

Configuration.static_bics()   A

Complexity

Conditions 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
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 country_validators
8
      @country_validators ||= {}
9
    end
10
11
    def add(country)
12
      country_validators[country] = Proc.new
13
    end
14
15
    def static_bics?
16
      use_static_bics
17
    end
18
  end
19
end
20