Skip to content
Browse files

add a few helper methods to GOSv2

  • Loading branch information...
1 parent a163510 commit dbaa6872e610710df786cd0cf8ab6f995dd58afd Timon Karnezos committed May 4, 2010
Showing with 15 additions and 5 deletions.
  1. +8 −1 HISTORY
  2. +1 −1 Rakefile
  3. +1 −1 VERSION
  4. +3 −2 global_collect.gemspec
  5. +2 −0 lib/global_collect/responses/get_order_status/v2_response_methods.rb
View
9 HISTORY
@@ -1,6 +1,13 @@
+v0.1.5 (2010-05-04)
+===================
+* add two helper methods to GET_ORDERSTATUS v2.0 response:
+ * credit_card_number and expiry_date, which should be present when the user pays with a credit card in hosted merchantlink
+* add example of how to use canned response test helper
+
v0.1.4 (2010-04-30)
===================
-* move spec/support/support_helper.rb to lib/global_collect/test_helper.rb so that apps that use the gem can use those helper methods to test their app using the canned responses.
+* move spec/support/support_helper.rb to lib/global_collect/test_helper.rb
+ * allows apps that use the gem to use helper methods for testing with canned responses
v0.1.3 (2010-04-30)
===================
View
2 Rakefile
@@ -22,7 +22,7 @@ END
gemspec.email = "timon.karnezos@gmail.com"
gemspec.homepage = "http://github.com/timonk/global_collect"
gemspec.authors = ["Timon Karnezos"]
- gemspec.version = "0.1.4"
+ gemspec.version = "0.1.5"
gemspec.add_dependency('httparty', '>= 0.5.2')
gemspec.add_dependency('builder', '>= 2.0')
View
2 VERSION
@@ -1 +1 @@
-0.1.4
+0.1.5
View
5 global_collect.gemspec
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{global_collect}
- s.version = "0.1.4"
+ s.version = "0.1.5"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Timon Karnezos"]
- s.date = %q{2010-04-30}
+ s.date = %q{2010-05-04}
s.description = %q{Gives minimally intrusive access to Global Collect's payment processing API.
Currently implements a very small segment of the full API but is built with
extensibility in mind.
@@ -32,6 +32,7 @@ extensibility in mind.
"examples/process_challenged.rb",
"examples/set_payment.rb",
"examples/test_connection.rb",
+ "examples/using_test_helper.rb",
"global_collect.gemspec",
"lib/global_collect.rb",
"lib/global_collect/api_client.rb",
View
2 lib/global_collect/responses/get_order_status/v2_response_methods.rb
@@ -28,6 +28,8 @@ class OrderStatus < Struct.new(:status_hash)
"AMOUNT" ,
"TOTAL AMOUNT PAID" ,
"TOTAL AMOUNT REFUNDED" ,
+ "CREDIT CARD NUMBER" ,
+ "EXPIRY DATE" ,
"FRAUD RESULT" ,
"FRAUD CODE" ,
"FRAUD NEURAL" ,

0 comments on commit dbaa687

Please sign in to comment.
Something went wrong with that request. Please try again.