lib/storyblok/client.rb in storyblok-2.0.1 vs lib/storyblok/client.rb in storyblok-2.0.2
- old
+ new
@@ -39,9 +39,18 @@
end
setup_logger
end
+ # Gets the space info
+ #
+ # @param [Hash] query
+ #
+ # @return [Hash]
+ def space(query = {})
+ Request.new(self, '/cdn/spaces/me', query).get
+ end
+
# Gets a collection of stories
#
# @param [Hash] query
#
# @return [Hash]