paytrace 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01f77e0d7062c1ba84c52b6e7e5df520c2427193
4
- data.tar.gz: efc8200cbb14404542ae71630d8ab88fd41033b2
3
+ metadata.gz: 0594ca7187f8ba182f94fa8396b875dc7bccfa13
4
+ data.tar.gz: ca0be761ea3f92728838af69ed89434b02b9fe84
5
5
  SHA512:
6
- metadata.gz: 8359ca5ec958109d517ee5a8d44408da79a3dcd7d9ed3492a71d51b5f93ccab85274ca7701d558cd2a6729679d80c3f66bd617de710ceb436851905d78d20a86
7
- data.tar.gz: e458c8d04bf2503f6831d1294f8f4bf255c387bc7160d074e01a7014068b1f7edb6d2fe1072222133eed1669a017402b31808dbaf638af255e34e0efebf9945b
6
+ metadata.gz: 67091c357b8a5da6bf5ae535436a6f65e23c5b14ccc1f42e50cdd2cf8755852b51c8f55a7287b17397edea1aa02f6e64038b82a7ed68788ca6b2092a528ae8da
7
+ data.tar.gz: 963657ca71649d6873018182753dab987adce28cb8420a2ace1a1c7fc25b86b5c44f6a97fce00f6e0f2b87f89b861d00d6829a0a1d0ac3cc55e1b7e63d0a8b79
@@ -142,6 +142,7 @@ module PayTrace
142
142
  def self.attach_signature(params = {})
143
143
  request = PayTrace::API::Request.new
144
144
  request.set_param(:method, ATTACH_SIGNATURE_METHOD)
145
+ request.set_param(:transaction_id, params[:transaction_id])
145
146
  request.set_param(:image_data, params[:image_data])
146
147
  request.set_param(:image_type, params[:image_type])
147
148
  if params.has_key?(:image_file)
@@ -1,3 +1,3 @@
1
1
  module PayTrace
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  end
@@ -1,4 +1,4 @@
1
- $:<< "./lib" # uncomment this to run against a Git clone instead of an installed gem
1
+ # $:<< "./lib" # uncomment this to run against a Git clone instead of an installed gem
2
2
 
3
3
  require "paytrace"
4
4
  require "paytrace/debug"
@@ -8,5 +8,5 @@ PayTrace::Debug.configure_test
8
8
  # see: http://help.paytrace.com/api-email-receipt for details
9
9
 
10
10
  PayTrace::Debug.trace {
11
- PayTrace::Transaction.attach_signature({image_file: File.expand_path('smiley_face.png', File.dirname(__FILE__)), image_type: "PNG"})
11
+ PayTrace::Transaction.attach_signature({transaction_id: 1143, image_file: File.expand_path('smiley_face.png', File.dirname(__FILE__)), image_type: "PNG"})
12
12
  }
@@ -1,4 +1,4 @@
1
- $:<< "./lib" # uncomment this to run against a Git clone instead of an installed gem
1
+ # $:<< "./lib" # uncomment this to run against a Git clone instead of an installed gem
2
2
 
3
3
  require "paytrace"
4
4
  require "paytrace/debug"
@@ -6,7 +6,7 @@ require "paytrace/debug"
6
6
  PayTrace::Debug.configure_test
7
7
 
8
8
  PayTrace::Debug.trace do
9
- e = PayTrace::EmailReceiptRequest.new({email: "support@paytrace.com", check_id: "CHECK2345" })
9
+ e = PayTrace::EmailReceiptRequest.new({email: "support@paytrace.com", check_id: "62" })
10
10
  r = e.send_request
11
11
  end
12
12
 
@@ -1,4 +1,4 @@
1
- $:<< "./lib" # uncomment this to run against a Git clone instead of an installed gem
1
+ # $:<< "./lib" # uncomment this to run against a Git clone instead of an installed gem
2
2
 
3
3
  require "paytrace"
4
4
  require "paytrace/debug"
@@ -1,4 +1,4 @@
1
- $:<< "./lib" # uncomment this to run against a Git clone instead of an installed gem
1
+ # $:<< "./lib" # uncomment this to run against a Git clone instead of an installed gem
2
2
 
3
3
  require "paytrace"
4
4
  require "paytrace/debug"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paytrace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trevor Redfern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-10 00:00:00.000000000 Z
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday