Module: Contentstack
- Defined in:
- lib/contentstack.rb,
lib/contentstack/asset.rb,
lib/contentstack/entry.rb,
lib/contentstack/error.rb,
lib/contentstack/query.rb,
lib/contentstack/client.rb,
lib/contentstack/content_type.rb,
lib/contentstack/asset_collection.rb,
lib/contentstack/entry_collection.rb
Overview
Built.io Contentstack - Ruby SDK
Built.io Contentstack is a content management system that facilitates the process of publication by separating the content from site-related programming and design.
Installation
gem install contentstack
Initialize the Stack
@stack = Contentstack::Client.new("site_api_key", "access_token", "enviroment_name")
Usage
Get single entry
@stack.content_type('blog').entry('<entry_uid_here>').fetch
Query entries
@stack.content_type('blog').query.regex('title', '.*hello.*').fetch
Defined Under Namespace
Classes: Asset, AssetCollection, Client, ContentType, Entry, EntryCollection, Error, Query