amplifypay_ruby 1.0.1 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f87f7c7cd7e2cc68e08a12f997b93567e51bed4
4
- data.tar.gz: 1e015159dd4a4f2a6a8754164c8322615d1a4758
3
+ metadata.gz: 99897b4235dbbbe8ba3861ae71a06c9d0da68b98
4
+ data.tar.gz: b19be20db4891b33b1e12a04655d692c0b12c341
5
5
  SHA512:
6
- metadata.gz: 99751c696967ef6057977b4354ef603c54ce11546dc11b940aee7e1c3395d97d5fc3654bb41ac66f0185ead8c6aca29cb72e6c52d49fa851edee0d229735246e
7
- data.tar.gz: 93780ec4b36f86f3dc1d6f0e6676958b990ba116331cad6fbe303c950b8de8a85899d574c4350c40f44c94a06f5e53ace150fe06e40d1fee6948702e6e7398f5
6
+ metadata.gz: 5ec7ab7cc0898793a03ff91d5333f840962369a6f95151e2bf797f7355cc78b0432eaa86581a38fcb38fe4b2906d288d6559963443177255a4c53c960c1a0cce
7
+ data.tar.gz: 0043572cb9768b8adfa1168f8c2ed867aa48194c162b5a5cb520ddd0ce800742c689ed96b64435499289b1cd4fa10ba8c0abd3273ea71007abb866e2f25b5b1b
@@ -2,12 +2,11 @@ module AmplifypayRuby
2
2
  module Checkout
3
3
  class Invoice < AmplifypayRuby::Checkout::Core
4
4
 
5
- attr_accessor :order_id, :total_amount, :redirect_url, :store, :paymentDescription
5
+ attr_accessor :total_amount, :redirect_url, :store, :paymentDescription
6
6
  attr_accessor :customer, :status_desc, :trans_id, :transaction_ref, :response_text, :invoice_url, :status_code
7
7
 
8
8
  def initialize
9
- @order_id = 0
10
- @trans_id = 22
9
+ @trans_id = "22"
11
10
  @customer = {}
12
11
  @total_amount = 0.0
13
12
  @redirect_url = ""
@@ -48,7 +47,7 @@ module AmplifypayRuby
48
47
  {
49
48
  merchantId: AmplifypayRuby::Setup.merchant_id,
50
49
  apiKey: AmplifypayRuby::Setup.private_key,
51
- transID: @order_id,
50
+ transID: @trans_id,
52
51
  customerEmail: @customer["email"],
53
52
  customerName: @customer["name"],
54
53
  Amount: @total_amount,
@@ -1,3 +1,3 @@
1
1
  module AmplifypayRuby
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amplifypay_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Innocent
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-27 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler