Sha256: e051f8fde024458465a3db8934da98c7e28608a7224001c27994ef9cbb1fb691
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
require_relative 'api/contents' module RenuoCmsRails module API # Fetches the contents from the API. It returns a hash where the key is the content_path and the value is the # content string. # @return [Hash<String, String>] the contents from the API def fetch_contents Contents.new(RenuoCmsRails.config).fetch end module_function :fetch_contents end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
renuo-cms-rails-0.2.1 | lib/renuo_cms_rails/api.rb |
renuo-cms-rails-0.2.0 | lib/renuo_cms_rails/api.rb |