Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# **Ruby SDK for Contentstack**

Contentstack is a headless CMS with an API-first approach. It is a CMS that developers can use to build powerful cross-platform applications in their favorite languages. Build your application frontend, and Contentstack will take care of the rest. [Read More](https://www.contentstack.com/).
Expand All @@ -20,7 +21,17 @@ Or you can run this command in your terminal (you might need administrator privi

To start using the SDK in your application, you will need to initialize the stack by providing the values for the keys given in the code snippet below.

# with default region
client = Contentstack::Client.new("site_api_key", "access_token", "enviroment_name")

# with specific region
client = Contentstack::Client.new("site_api_key", "access_token", "enviroment_name",{"region": Contentstack::Region::EU})

# with custom host
client = Contentstack::Client.new("site_api_key", "access_token", "enviroment_name",{"host": "https://custom-cdn.contentstack.com"})




## **Key Concepts for using Contentstack**

Expand Down Expand Up @@ -90,7 +101,7 @@ SDK functions for Image Delivery API coming soon.

## **The MIT License (MIT)**

Copyright © 2012-2017 [Built.io](https://www.built.io/). All Rights Reserved
Copyright © 2012-2017 [Contentstack](https://www.contentstack.com). All Rights Reserved

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
2 changes: 1 addition & 1 deletion coverage/.last_run.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"result": {
"covered_percent": 96.44
"covered_percent": 96.63
}
}
Loading