storyblok 2.0.2 → 2.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cc0af02e95e11ec5a5005961961ccf3be36a8528a62060f54635af5bf00c2eb
4
- data.tar.gz: acd3f0941986cd28b4d042422307ef1fcaf306c0f4d6d56e3e57d2c4b1b1fecb
3
+ metadata.gz: c6fa0b6c55bf351d46c5b578d4af2260fcc7e7930447f58522a16569fb8577db
4
+ data.tar.gz: fbf143b560b816a317bdec6d0e4853deeadfa6c2e1c940784ae702c08129e39f
5
5
  SHA512:
6
- metadata.gz: e1eff69c57c58277c1f3b10043632eed1ce1996c4a18a81ca07827fedb8a2032dd1491158727fec777641cccb94e83e02ab6cf07e7c5381b67143d9c93b9fbee
7
- data.tar.gz: 1c259a64bbac30f4bad1beef80a02845baa541eeae6dedb1b19ee4cb2afab93c563b4c5aa0578afc9c7125766f6c5bf3b2ccef0e932875906acb130cffe719ab
6
+ metadata.gz: c98064e4cd131f717ba96a82a1470608b2681d5d1c5072f790c68a88753d0570ba22ba582eb9feac2105c2bc84bfb0622040094ce8c56155fa081f3719215cfc
7
+ data.tar.gz: d5386028fe0f42a40256349254b422c717a1f184b3fbd85df3fce9ebedfa2f5f9aa8f44d01485dccca7cc6dfd36e2acba0e434aaadc7825e1988446e583108bf
@@ -78,6 +78,15 @@ module Storyblok
78
78
  Request.new(self, '/cdn/datasource_entries', query).get
79
79
  end
80
80
 
81
+ # Gets a collection of datasources
82
+ #
83
+ # @param [Hash] query
84
+ #
85
+ # @return [Hash]
86
+ def datasources(query = {})
87
+ Request.new(self, '/cdn/datasources', query).get
88
+ end
89
+
81
90
  # Gets a collection of tags
82
91
  #
83
92
  # @param [Hash] query
@@ -1,4 +1,4 @@
1
1
  module Storyblok
2
2
  # Gem Version
3
- VERSION = '2.0.2'
3
+ VERSION = '2.0.3'
4
4
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storyblok
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Storyblok (Alexander Feiglstorfer)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-03 00:00:00.000000000 Z
11
+ date: 2019-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -82,6 +82,7 @@ files:
82
82
  - lib/storyblok/links.rb
83
83
  - lib/storyblok/request.rb
84
84
  - lib/storyblok/version.rb
85
+ - storyblok-2.0.2.gem
85
86
  - storyblok.gemspec
86
87
  homepage: https://github.com/storyblok/storyblok-ruby
87
88
  licenses: