Skip to content

Commit

Permalink
Merge pull request #66 from mollie/vernon/remove-bitcoin
Browse files Browse the repository at this point in the history
Remove Bitcoin
  • Loading branch information
vernondegoede authored May 1, 2019
2 parents 29fc4de + bfcd5b7 commit a72b56b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }

gem 'mollie-api-ruby', '~> 4.1.3'
gem 'mollie-api-ruby', '~> 4.2.0'

# Specify your gem's dependencies in spree_mollie_gateway.gemspec
gemspec
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ Contact: [www.mollie.com](https://www.mollie.com) — info@mollie.com — +31 20
+ [More information about SOFORT Banking via Mollie](https://www.mollie.com/en/payments/sofort/)
+ [More information about SEPA Bank transfer via Mollie](https://www.mollie.com/en/payments/bank-transfer/)
+ [More information about SEPA Direct debit via Mollie](https://www.mollie.com/en/payments/direct-debit/)
+ [More information about Bitcoin via Mollie](https://www.mollie.com/en/payments/bitcoin/)
+ [More information about PayPal via Mollie](https://www.mollie.com/en/payments/paypal/)
+ [More information about KBC/CBC Payment Button via Mollie](https://www.mollie.com/en/payments/kbc-cbc/)
+ [More information about Belfius Direct Net via Mollie](https://www.mollie.com/en/payments/belfius)
Expand Down
7 changes: 4 additions & 3 deletions app/models/spree/mollie_payment_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ def name
'SOFORT Banking'
when ::Mollie::Method::BANKTRANSFER then
'Bank transfer'
when ::Mollie::Method::BITCOIN then
'Bitcoin'
when ::Mollie::Method::PAYPAL then
'PayPal'
when ::Mollie::Method::KBC then
Expand All @@ -51,8 +49,11 @@ def name
'Klarna Slice it'
when ::Mollie::Method::KLARNAPAYLATER then
'Klarna Pay Later'
# As of May 1st 2019, Bitcoin is no longer supported.
when 'bitcoin' then
'Bitcoin'
else
'Mollie'
'Mollie (Unknown method)'
end
end

Expand Down
15 changes: 0 additions & 15 deletions docs/api/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,21 +285,6 @@ Content-Type: application/json; charset=utf-8
}
}
},
{
"resource": "method",
"id": "bitcoin",
"description": "Bitcoin",
"image": {
"size1x": "https://www.mollie.com/images/payscreen/methods/bitcoin.png",
"size2x": "https://www.mollie.com/images/payscreen/methods/bitcoin%402x.png"
},
"_links": {
"self": {
"href": "https://api.mollie.com/v2/methods/bitcoin",
"type": "application/hal+json"
}
}
}
]

```
2 changes: 1 addition & 1 deletion gemfiles/spree_3_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "mollie-api-ruby", "~> 4.1.3"
gem "mollie-api-ruby", "~> 4.2.0"
gem "spree", "~> 3.5.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/spree_3_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "mollie-api-ruby", "~> 4.1.3"
gem "mollie-api-ruby", "~> 4.2.0"
gem "spree", "~> 3.6.5"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/spree_3_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "mollie-api-ruby", "~> 4.1.3"
gem "mollie-api-ruby", "~> 4.2.0"
gem "spree", "~> 3.7.2"

gemspec path: "../"
2 changes: 1 addition & 1 deletion spree_mollie_gateway.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'sqlite3'

spec.add_runtime_dependency 'mollie-api-ruby', '~> 4.1.3'
spec.add_runtime_dependency 'mollie-api-ruby', '~> 4.2.0'
end

0 comments on commit a72b56b

Please sign in to comment.