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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/kiik.gemspec +1 -1
  3. data/lib/kiik/payment.rb +3 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3270b3642697f8fea698a18d90ea973a1bb7174
4
- data.tar.gz: f5719c8b93359472d29c2a6d401e0338beeb8206
3
+ metadata.gz: a9c0306730a098bd4b176c330abecc11e775430c
4
+ data.tar.gz: d4cdabf6a0c2e6d34cb74bdd04aa9de5eecc3a80
5
5
  SHA512:
6
- metadata.gz: afb4c4be705de1671471a0eb20c4245804fed89e6c10cc51383b723734636696d2245ba641b76bb8621cbe0b2806339b04b073119790503b48f081e568e472e8
7
- data.tar.gz: 765301f4036e068236b12d5f5e52499a2f7ca337ea2cff5555e4c22e385cc2cffab3a4a4aa903cad220dca3c2fa644da435c868934c29ca78cce1f292d962b43
6
+ metadata.gz: a40dcb7f9589493aab6b5d3591200924ff23224319aec08b0ecdab953f266214fc2a8811188ea1f4fad8efba8f7847f8b9a2b7b773244412e0bc5a6a55dc4915
7
+ data.tar.gz: fa87007c0c6917d8c48c49718085247772b2fd1e365e6b215f4ad48793b7d5231c5e4316c9542bc336dae13dbe150c4de31e8afc6a63a3905bf6b808f411e75d
@@ -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.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']
@@ -2,8 +2,7 @@ module Kiik
2
2
  class Payment < Resource
3
3
  include Kiik::Rest::GetAll
4
4
 
5
- attr_accessor :status, :received_at, :history_type, :expected_compensation_date,
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
- :received_at,
43
- :history_type,
44
- :expected_compensation_date,
41
+ :expected_compensation,
45
42
  :compensated_at,
46
- :charge_id,
47
43
  :amount,
48
- :aditional_info
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.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: 2016-09-05 00:00:00.000000000 Z
12
+ date: 2017-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha