Sha256: 39c2fefc24551080be1d60fb472b127c5a8e4cc3f3876523451f5491c209a899

Contents?: true

Size: 774 Bytes

Versions: 2

Compression:

Stored size: 774 Bytes

Contents

module JpLocalGov
  DATA_DIR: String

  CHECK_DIGITS_INDEX: Integer

  CHECK_BASE: Integer

  PREFECTURE_RANGE: Range[Integer]

  VALID_CODE_LENGTH: Integer

  def self?.included: (Class | Module model_class) -> (Class | Module)

  def self?.find: (String local_gov_code) -> (nil | JpLocalGov::LocalGov)

  def self?.where: (Hash[Symbol, untyped] conditions) -> (nil | Array[JpLocalGov::LocalGov])

  def self?.valid_code?: (String code) -> bool

  def self.all: () -> Array[JpLocalGov::LocalGov]

  def self?.build_local_gov: (Hash[Symbol, untyped] data, Hash[Symbol, String] conditions) -> (nil | Array[JpLocalGov::LocalGov])

  def self?.filter: (Hash[Symbol, untyped] target, Hash[Symbol, String] conditions) -> bool

  def prefecture_code_list: () -> Array[String]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jp_local_gov-0.2.1 sig/jp_local_gov.rbs
jp_local_gov-0.2.0 sig/jp_local_gov.rbs