fidor_starter_kits 0.5.0 → 0.5.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 +4 -4
- data/lib/fidor_starter_kits/version.rb +1 -1
- data/starter_kits/ruby_oauth_plain/example.rb +7 -2
- 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: fe72996845c734b423e4c9571e3ea15427168a27
|
|
4
|
+
data.tar.gz: 311aa52916b738f63844d0e5eb902c752282f2df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0892a53df4347cc65ddf716e80039413f81dd49fe8065d831bf795344618b7f43d607354c69154a72c08ad3c5b190bbcd9182d078c0b310f92c95ea82491be48
|
|
7
|
+
data.tar.gz: 3c6673db52300cd822794a9aab7dc29948e9a7dac46638d763eed429e04113dfa9bfa4f02c0d956deeb93aaa4dc56f4cd7d6f9eb6ae4af4eed8c2ccbe1a917ae
|
|
@@ -34,7 +34,12 @@ get '/' do
|
|
|
34
34
|
<i>May i present the access token response:</i>
|
|
35
35
|
<blockquote>#{resp.body}</blockquote>
|
|
36
36
|
<p>Now use the access token in the Header of your Requests, e.g. using CURL</p>
|
|
37
|
+
<h3>GET /accounts</h3>
|
|
37
38
|
<blockquote>
|
|
38
|
-
curl -v
|
|
39
|
-
</blockquote>
|
|
39
|
+
curl -v --header \"Accept: application/vnd.fidor.de; version=1,text/json\" --header \"Authorization: Bearer #{resp['access_token']}\" #{@fidor_api_url}/accounts
|
|
40
|
+
</blockquote>
|
|
41
|
+
<h3>GET /transactions</h3>
|
|
42
|
+
<blockquote>
|
|
43
|
+
curl -v --header \"Accept: application/vnd.fidor.de; version=1,text/json\" --header \"Authorization: Bearer #{resp['access_token']}\" #{@fidor_api_url}/transactions?per_page=5
|
|
44
|
+
</blockquote>"
|
|
40
45
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fidor_starter_kits
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Georg Leciejewski
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-04-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubyzip
|