Sha256: b5df2dc6ca07eda2330d38688c9fc851c799c6eb9cdab187e5b6ba8fdd6a6ac2

Contents?: true

Size: 837 Bytes

Versions: 3

Compression:

Stored size: 837 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]

  def self?.json_data_from: (String) -> Hash[Symbol, untyped]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jp_local_gov-1.0.0 sig/jp_local_gov.rbs
jp_local_gov-0.3.1 sig/jp_local_gov.rbs
jp_local_gov-0.3.0 sig/jp_local_gov.rbs