crisp-api 1.1.4 → 1.1.5
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 +4 -4
- data/README.md +2 -2
- data/crisp-api.gemspec +1 -1
- data/lib/crisp-api.rb +1 -1
- data/lib/resources/website.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe1293fc6504f10040ac4837f78ca211c437e823c6381a962d8f2fd7ffe16067
|
4
|
+
data.tar.gz: c97ef803d68d9c7d7f83c568cc81f9e90118baaff3f16c2e123636b5e14dfe2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9066fdcc6d9305de0607524f3eb720dd750ce5d517bd95e9eed49ce5101166c2af6aa336bc9d8e7785b1fd2e3e49a55a1402b4c44ac9f0b2777d538deb766c6a
|
7
|
+
data.tar.gz: f9c9ffeb9c607fff2e1888b744ee6df6a168f11f36c7ad3c489050b29c8d117df99aef8804bc9b61929543b033fcf2374450cb207d6bdff4ab83fb782314af13
|
data/README.md
CHANGED
@@ -5,14 +5,14 @@ The Crisp API Ruby wrapper. Authenticate, send messages, fetch conversations, ac
|
|
5
5
|
Copyright 2019 Crisp IM SARL. See LICENSE for copying information.
|
6
6
|
|
7
7
|
* **📝 Implements**: [Crisp Platform - API ~ v1](https://docs.crisp.chat/api/v1/) at reference revision: 12/31/2017
|
8
|
-
* **😘 Maintainer**: [@valeriansaliou](https://github.com/valeriansaliou)
|
8
|
+
* **😘 Maintainer**: [@valeriansaliou](https://github.com/valeriansaliou), [@eliottvincent](https://github.com/eliottvincent)
|
9
9
|
|
10
10
|
## Usage
|
11
11
|
|
12
12
|
Add the library to your `Gemfile`:
|
13
13
|
|
14
14
|
```bash
|
15
|
-
gem "crisp-api", "~> 1.1.
|
15
|
+
gem "crisp-api", "~> 1.1.5"
|
16
16
|
```
|
17
17
|
|
18
18
|
Then, import it:
|
data/crisp-api.gemspec
CHANGED
data/lib/crisp-api.rb
CHANGED
data/lib/resources/website.rb
CHANGED
@@ -124,8 +124,8 @@ module Crisp
|
|
124
124
|
return self.search_conversations(website_id, page_number)
|
125
125
|
end
|
126
126
|
|
127
|
-
def create_new_conversation(website_id
|
128
|
-
return @parent.post(self._url_website(website_id, "/conversation")
|
127
|
+
def create_new_conversation(website_id)
|
128
|
+
return @parent.post(self._url_website(website_id, "/conversation"))
|
129
129
|
end
|
130
130
|
|
131
131
|
def check_conversation_exists(website_id, session_id)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crisp-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valerian Saliou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|