Skip to content
Merged
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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.11.0"
".": "1.12.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 202
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a7e0e17a385ddfb049d0fe4e5d05785901cf40f464c51399d7c2cd1f863696c0.yml
openapi_spec_hash: b4bca6edf466e9061a72c98207f92c6d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f0b14ed0b6857930b2bbb80a8a0580dff2aad5510240f608ea9385a8b1d1b66b.yml
openapi_spec_hash: ea869bb98167424f60f8ef006da70945
config_hash: a185e9a72778cc4658ea73fb3a7f1354
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.12.0 (2025-07-10)

Full Changelog: [v1.11.0...v1.12.0](https://github.com/Increase/increase-ruby/compare/v1.11.0...v1.12.0)

### Features

* **api:** api update ([1765f74](https://github.com/Increase/increase-ruby/commit/1765f74c0125b1b3eab3faf9f03d3498a5daffa4))

## 1.11.0 (2025-07-09)

Full Changelog: [v1.10.0...v1.11.0](https://github.com/Increase/increase-ruby/compare/v1.10.0...v1.11.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
increase (1.11.0)
increase (1.12.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "increase", "~> 1.11.0"
gem "increase", "~> 1.12.0"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 9 additions & 1 deletion lib/increase/models/card_details.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ class CardDetails < Increase::Internal::Type::BaseModel
# @return [Integer]
required :expiration_year, Integer

# @!attribute pin
# The 4-digit PIN for the card, for use with ATMs.
#
# @return [String]
required :pin, String

# @!attribute primary_account_number
# The card number.
#
Expand All @@ -43,7 +49,7 @@ class CardDetails < Increase::Internal::Type::BaseModel
# @return [String]
required :verification_code, String

# @!method initialize(card_id:, expiration_month:, expiration_year:, primary_account_number:, type:, verification_code:)
# @!method initialize(card_id:, expiration_month:, expiration_year:, pin:, primary_account_number:, type:, verification_code:)
# Some parameter documentations has been truncated, see
# {Increase::Models::CardDetails} for more details.
#
Expand All @@ -55,6 +61,8 @@ class CardDetails < Increase::Internal::Type::BaseModel
#
# @param expiration_year [Integer] The year the card expires in YYYY format (e.g., 2025).
#
# @param pin [String] The 4-digit PIN for the card, for use with ATMs.
#
# @param primary_account_number [String] The card number.
#
# @param type [Symbol, Increase::Models::CardDetails::Type] A constant representing the object's type. For this resource it will always be `
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Increase
VERSION = "1.11.0"
VERSION = "1.12.0"
end
8 changes: 8 additions & 0 deletions rbi/increase/models/card_details.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ module Increase
sig { returns(Integer) }
attr_accessor :expiration_year

# The 4-digit PIN for the card, for use with ATMs.
sig { returns(String) }
attr_accessor :pin

# The card number.
sig { returns(String) }
attr_accessor :primary_account_number
Expand All @@ -41,6 +45,7 @@ module Increase
card_id: String,
expiration_month: Integer,
expiration_year: Integer,
pin: String,
primary_account_number: String,
type: Increase::CardDetails::Type::OrSymbol,
verification_code: String
Expand All @@ -53,6 +58,8 @@ module Increase
expiration_month:,
# The year the card expires in YYYY format (e.g., 2025).
expiration_year:,
# The 4-digit PIN for the card, for use with ATMs.
pin:,
# The card number.
primary_account_number:,
# A constant representing the object's type. For this resource it will always be
Expand All @@ -71,6 +78,7 @@ module Increase
card_id: String,
expiration_month: Integer,
expiration_year: Integer,
pin: String,
primary_account_number: String,
type: Increase::CardDetails::Type::TaggedSymbol,
verification_code: String
Expand Down
5 changes: 5 additions & 0 deletions sig/increase/models/card_details.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Increase
card_id: String,
expiration_month: Integer,
expiration_year: Integer,
pin: String,
primary_account_number: String,
type: Increase::Models::CardDetails::type_,
verification_code: String
Expand All @@ -17,6 +18,8 @@ module Increase

attr_accessor expiration_year: Integer

attr_accessor pin: String

attr_accessor primary_account_number: String

attr_accessor type: Increase::Models::CardDetails::type_
Expand All @@ -27,6 +30,7 @@ module Increase
card_id: String,
expiration_month: Integer,
expiration_year: Integer,
pin: String,
primary_account_number: String,
type: Increase::Models::CardDetails::type_,
verification_code: String
Expand All @@ -36,6 +40,7 @@ module Increase
card_id: String,
expiration_month: Integer,
expiration_year: Integer,
pin: String,
primary_account_number: String,
type: Increase::Models::CardDetails::type_,
verification_code: String
Expand Down
1 change: 1 addition & 0 deletions test/increase/resources/cards_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def test_details
card_id: String,
expiration_month: Integer,
expiration_year: Integer,
pin: String,
primary_account_number: String,
type: Increase::CardDetails::Type,
verification_code: String
Expand Down