Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 238
openapi_spec_hash: 244db0c7a39ae8fff699dccda50b79bd
openapi_spec_hash: 19ef63a60d3c7abac26492062c409bc0
config_hash: 2ae0d8aaecf01b38cbf9f9e112822c23
2 changes: 1 addition & 1 deletion lib/increase/models/simulations/program_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module Bank
GRASSHOPPER_BANK = :grasshopper_bank

# Twin City Bank
TWIN_CITY_BANK = :twin_city_bank
INCREASE_BANK = :increase_bank

# @!method self.values
# @return [Array<Symbol>]
Expand Down
4 changes: 2 additions & 2 deletions rbi/increase/models/simulations/program_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ module Increase
)

# Twin City Bank
TWIN_CITY_BANK =
INCREASE_BANK =
T.let(
:twin_city_bank,
:increase_bank,
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
)

Expand Down
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions sig/increase/models/simulations/program_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ module Increase
}

type bank =
:core_bank
| :first_internet_bank
| :grasshopper_bank
| :twin_city_bank
:core_bank | :first_internet_bank | :grasshopper_bank | :increase_bank

module Bank
extend Increase::Internal::Type::Enum
Expand All @@ -65,7 +62,7 @@ module Increase
GRASSHOPPER_BANK: :grasshopper_bank

# Twin City Bank
TWIN_CITY_BANK: :twin_city_bank
INCREASE_BANK: :increase_bank

def self?.values: -> ::Array[Increase::Models::Simulations::ProgramCreateParams::bank]
end
Expand Down