fidor_api 2.1.0 → 2.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
  SHA256:
3
- metadata.gz: 56a314ff44aed947495ae60e56941cd70d5853b7a8cde360e352ba469da8fcfa
4
- data.tar.gz: b166fd237f769e982918634191b61dc6c8e1ad2efeeca8a9ae2143a2fa8146af
3
+ metadata.gz: 38d7e2ebea04865a187de3207394e0c0e866309406806a5472aadd606192667d
4
+ data.tar.gz: d003281aa6ebf9d1c201b3e4e68e07738a0b269b613d42d58b10752dbd2a8fec
5
5
  SHA512:
6
- metadata.gz: d8f754e3d911d15a41e9061a9f89695fc10a10e19b99c04fb04a7f26e86013a62ca2837924fc2f651a421d95bacf90877927b89c059ad09cf5853f22e5599db4
7
- data.tar.gz: e807ea4197edf4d71d62353c318f5d5d20260799934faaa26c2942b413620a5d089c4d91f05bba2c0ec320a39f429d08fd3bc590736dd737eb57a9ae770ad987
6
+ metadata.gz: 46eb152f28c9a17edb890e34a684053f941b4b35de8649a0c4fd127f023e4cf12644c44692699f8aa19a15de8ed0dd5242fc0539ea9b5bdbfe726d0c1c4d83f9
7
+ data.tar.gz: 547dd81c992e89fee9d11d51e0f674ca5768e3ccfae74c0c68caea01aaee3081b8c9886968525407503cb5cfe675213ec7bc447fee753a4fda7872c8753f94b5
@@ -5,6 +5,10 @@ module FidorApi
5
5
  def account_transactions(id, options = {})
6
6
  fetch(:collection, Model::Transaction, "accounts/#{id}/transactions", options)
7
7
  end
8
+
9
+ def account_transaction(account_id, transaction_id, options = {})
10
+ fetch(:single, Model::Transaction, "accounts/#{account_id}/transactions/#{transaction_id}", options)
11
+ end
8
12
  end
9
13
  end
10
14
  end
@@ -14,6 +14,7 @@ module FidorApi
14
14
  attribute :beneficiary, :json
15
15
  attribute :state, :string
16
16
  attribute :scheduled_date, :string
17
+ attribute :created_at, :string
17
18
 
18
19
  attribute_decimal_methods :amount
19
20
 
@@ -1,3 +1,3 @@
1
1
  module FidorApi
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fidor_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fidor Solutions AG
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-02 00:00:00.000000000 Z
11
+ date: 2019-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 0.72.0
123
+ version: 0.74.0
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - '='
129
129
  - !ruby/object:Gem::Version
130
- version: 0.72.0
130
+ version: 0.74.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: simplecov
133
133
  requirement: !ruby/object:Gem::Requirement