help_scout 0.4.0 → 0.5.0
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/lib/help_scout/version.rb +1 -1
- data/lib/help_scout.rb +10 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb7ba581aa0fce9aca9b69f34bd45d003a832095
|
|
4
|
+
data.tar.gz: 16e098e8579676e7b127b21e1f0bf38740b02ed6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d47b06f95c503e9537b8578d9774d3d9e05489605ed31cf609730a6febe9c4557a1ebc328cc92c189e45da5d50baacae168481873c8cd8a698a2a2d42cb2475e
|
|
7
|
+
data.tar.gz: 0a43fa20e176e2e3323c596d3caf1f9f501deaeafd944f2cc6ad3e80eca300c79ac91d4c80f8613e39d67ea75ee7c73d2de475728066a805f7b4cce4ab7a1069
|
data/lib/help_scout/version.rb
CHANGED
data/lib/help_scout.rb
CHANGED
|
@@ -115,7 +115,6 @@ class HelpScout
|
|
|
115
115
|
get("reports/user/ratings", options)
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
|
|
119
118
|
# Public: Creates conversation thread
|
|
120
119
|
#
|
|
121
120
|
# conversion_id - conversation id
|
|
@@ -138,6 +137,16 @@ class HelpScout
|
|
|
138
137
|
last_response.code == HTTP_CREATED
|
|
139
138
|
end
|
|
140
139
|
|
|
140
|
+
# Public: Update Customer
|
|
141
|
+
#
|
|
142
|
+
# id - customer id
|
|
143
|
+
# data - hash with data
|
|
144
|
+
#
|
|
145
|
+
# More info: http://developer.helpscout.net/help-desk-api/customers/update/
|
|
146
|
+
def update_customer(id, data)
|
|
147
|
+
put("customers/#{id}", { body: data })
|
|
148
|
+
end
|
|
149
|
+
|
|
141
150
|
protected
|
|
142
151
|
|
|
143
152
|
def post(path, options = {})
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: help_scout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dennis Paagman
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2017-
|
|
13
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: httparty
|
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
137
137
|
version: '0'
|
|
138
138
|
requirements: []
|
|
139
139
|
rubyforge_project:
|
|
140
|
-
rubygems_version: 2.6.
|
|
140
|
+
rubygems_version: 2.6.11
|
|
141
141
|
signing_key:
|
|
142
142
|
specification_version: 4
|
|
143
143
|
summary: HelpScout is an API client for Help Scout
|