Skip to content

Commit

Permalink
Merge pull request #112 from deliveroo/TRST-2078/transfer_type
Browse files Browse the repository at this point in the history
TRST-2078: added transfer type to payment method
  • Loading branch information
aliyadeliveroo authored Sep 27, 2024
2 parents 1d82a18 + e9adb20 commit 8084e30
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.5.6
- image: cimg/ruby:3.2.4
steps:
- checkout
- run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5 # The version of Ruby to use
bundler: 1.17.3
ruby-version: 3.2.4 # The version of Ruby to use
bundler: 2.5.9
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
#env:
# BUNDLE_GEMFILE: ./path/to/Gemfile # Change this to the path to your Gemfile if not in root
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.8
3.2.4
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.1.48

Added transfer_type to payment_method.
Added transfer_type to payment_method.
Updated ruby version to to 2.5.8 and bundler to 2.5.11

# 0.1.47

Added support for passing optional request headers to ravelin client and ravelin proxy.
Expand Down
3 changes: 2 additions & 1 deletion lib/ravelin/payment_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class PaymentMethod < RavelinObject
:email,
:custom,
:e_wallet,
:scheme
:scheme,
:transfer_type

attr_required :payment_method_id, :method_type
end
Expand Down
2 changes: 1 addition & 1 deletion lib/ravelin/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Ravelin
VERSION = '0.1.47'
VERSION = '0.1.48'
end
2 changes: 1 addition & 1 deletion ravelin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_development_dependency 'bundler', '~> 1.17.3'
spec.add_development_dependency 'bundler', '~> 2.5'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'webmock', '~> 3.18'
Expand Down

0 comments on commit 8084e30

Please sign in to comment.