kiik 0.2.2 → 0.2.3
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 +4 -4
- data/kiik.gemspec +1 -1
- data/lib/kiik/payment.rb +3 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9c0306730a098bd4b176c330abecc11e775430c
|
|
4
|
+
data.tar.gz: d4cdabf6a0c2e6d34cb74bdd04aa9de5eecc3a80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a40dcb7f9589493aab6b5d3591200924ff23224319aec08b0ecdab953f266214fc2a8811188ea1f4fad8efba8f7847f8b9a2b7b773244412e0bc5a6a55dc4915
|
|
7
|
+
data.tar.gz: fa87007c0c6917d8c48c49718085247772b2fd1e365e6b215f4ad48793b7d5231c5e4316c9542bc336dae13dbe150c4de31e8afc6a63a3905bf6b808f411e75d
|
data/kiik.gemspec
CHANGED
|
@@ -2,7 +2,7 @@ $:.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'kiik'
|
|
5
|
-
s.version = '0.2.
|
|
5
|
+
s.version = '0.2.3'
|
|
6
6
|
s.summary = 'Integrate Kiik with your Ruby app'
|
|
7
7
|
s.description = "KiiK's official gem that helps you to integrate with our services. See https://docs.kiik.com.br for details."
|
|
8
8
|
s.authors = ['Julien Lucca', 'Esdras Eduardo']
|
data/lib/kiik/payment.rb
CHANGED
|
@@ -2,8 +2,7 @@ module Kiik
|
|
|
2
2
|
class Payment < Resource
|
|
3
3
|
include Kiik::Rest::GetAll
|
|
4
4
|
|
|
5
|
-
attr_accessor :status, :
|
|
6
|
-
:compensated_at, :charge_id, :amount, :aditional_info, :total
|
|
5
|
+
attr_accessor :status, :expected_compensation, :compensated_at, :amount, :amount_raw, :total
|
|
7
6
|
|
|
8
7
|
class << self
|
|
9
8
|
def consolidated(customer = nil, start_date = nil, end_date = nil)
|
|
@@ -39,13 +38,10 @@ module Kiik
|
|
|
39
38
|
def to_json
|
|
40
39
|
super.merge!(super([
|
|
41
40
|
:status,
|
|
42
|
-
:
|
|
43
|
-
:history_type,
|
|
44
|
-
:expected_compensation_date,
|
|
41
|
+
:expected_compensation,
|
|
45
42
|
:compensated_at,
|
|
46
|
-
:charge_id,
|
|
47
43
|
:amount,
|
|
48
|
-
:
|
|
44
|
+
:amount_raw,
|
|
49
45
|
]))
|
|
50
46
|
end
|
|
51
47
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kiik
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julien Lucca
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mocha
|