paymentsjs-rails 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/paymentsjs-rails.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96b7d83a7e1427f1c3ef8c398a9c78dfb7143a98
4
- data.tar.gz: c7258eb697bc4958cc7392389fe967daf9284a69
3
+ metadata.gz: 57d1d3439c30947c4762592bf727ecdb33542cfd
4
+ data.tar.gz: 121e6e6ee8f2ddc0e75018e9ba65e8856d7619be
5
5
  SHA512:
6
- metadata.gz: 857885da11707dfad049a114479f1a3e189b9a90ba952f481e64d54bb9e19b61d73cadd07ab033ba7aa5779aee6f3ff67c1b77f3583a8657364b196c89d0e279
7
- data.tar.gz: f2ad68a23ab224dbea513e5dc7e6186f6bbadd8e92dc3b402f24152f0c9c7880a89866eaf2d7470b5daa3f31e9f81b764c392ce3d459bd21f558ca25b7def360
6
+ metadata.gz: 1161d43c98f2c0151094e434d5408d2d2364380041194d3e34fdb97a8bc9ac1d1e813a4025afc4e9658557adff228e6243ca1938afb1f13fe46f66f026c54913
7
+ data.tar.gz: 07b3d9fdc83561604c8740917a4ffc8a80cdc3575d6023e5da63ff4f269eb90ecceb73caa5f8bf9376be27f0743444f6a9a0ec2f7f97ea14c83f6a90b8eea31a
@@ -5,11 +5,12 @@ class PaymentsJs
5
5
  require 'json'
6
6
  require 'paymentsjs-rails/rails/engine'
7
7
 
8
- extend Configuration
9
-
10
8
  attr_reader :address, :city, :state, :zip, :amount, :req_id, :name, :request_type, :pre_auth, :environment, :api_key, :salt, :mid, :postback_url, :auth_key
11
9
 
12
10
  def initialize(order)
11
+
12
+ extend Configuration
13
+
13
14
  @order = order
14
15
  @address = @order[:address]
15
16
  @city = @order[:city]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paymentsjs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Bartlett