omise 0.1.0 → 0.1.1

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: a62637552d01df079f85217d27317fa50b720459
4
- data.tar.gz: 0546a78676c1d55fc0e0cc75fce39647cce135ba
3
+ metadata.gz: ac74ee13ddd25f59492be50022c44d1774f03a29
4
+ data.tar.gz: c078bf5ac5d1f780c4d29c3148ba77343e31f6ed
5
5
  SHA512:
6
- metadata.gz: 35c950bc2ea666234ab9fed87a8fe0c88f05f68d2845b0d43bc41aea7abf3288e8aa8e2cb7826d693d177992e19ebd0bc13afe31f39653b436cf5a9fa5e048d7
7
- data.tar.gz: 02e246bebf9575c8369f46c6aa891809b455f3658d0481e0673bb1fd80284fec3c4f30e72ac72a873a91ad0d5e696e8a93f3f33677165120e4f8b61295e24769
6
+ metadata.gz: 236389607f5d7d6fcc1d06b6515dc4fa0b953708fbebf906d3e55a6f0546e8c568cc8c6ab640dee67788750db70b937e271aa743e2220f12b4b7ca7cb6e53a12
7
+ data.tar.gz: 16aa16a9d23ae834ea4ed9422d68e045fec145cf49a825f156f56ddb7cd02a3be5a01ebb9773f8786cfec764fa96daaaa4f96f5b8a5bae19887bbdc53759c46e
data/README.md CHANGED
@@ -4,7 +4,13 @@
4
4
 
5
5
  ## Installation
6
6
 
7
- Install using bundle (via github only at this time).
7
+ Install using rubgems:
8
+
9
+ ```ruby
10
+ gem 'omise'
11
+ ```
12
+
13
+ Or use the cutting-edge version by installing via github:
8
14
 
9
15
  ```ruby
10
16
  gem 'omise', github: 'omise/omise-ruby'
data/lib/omise/charge.rb CHANGED
@@ -35,7 +35,7 @@ module Omise
35
35
  end
36
36
 
37
37
  def transaction(options = {})
38
- if @attributes["customer"]
38
+ if @attributes["transaction"]
39
39
  @transaction ||= Transaction.retrieve(@attributes["transaction"], options)
40
40
  end
41
41
  end
data/lib/omise/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Omise
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Clart