closeio 3.5.1 → 3.6.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/CHANGELOG.md +4 -0
- data/README.md +5 -7
- data/lib/closeio/resources/activity.rb +32 -4
- data/lib/closeio/resources/event.rb +4 -0
- data/lib/closeio/version.rb +1 -1
- 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: f4a4e7b8c6577770ecc51432276648e9ecb8c82337ecbec6eb3e2bdf7bb602a0
|
4
|
+
data.tar.gz: abcde33802d4712fcbba211f2d66ade01898cb8e6a8d98b52cb6037098f423c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2971f3cc9f884950bdf07edca4fa6322cdf1c62104926c69519d52eb5447c85e3d2149cbb95a8bcecd373bf196ab24ddbd01213ec2c009dd314dff82ecf6a191
|
7
|
+
data.tar.gz: d3e14036b50c616c6bf2e488d049dd93dc13a70652f951cf6f6bb237349f98b3c105d25f6d4f4b0f1579b5d255bfc3e2285aa06779296ba2bc26a7b1de81df75
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,16 +1,14 @@
|
|
1
|
-
### A Ruby wrapper for the Close.
|
1
|
+
### A Ruby wrapper for the Close.com API
|
2
2
|
|
3
|
-
Learn about the
|
3
|
+
Learn about the Close API at http://developer.close.com.
|
4
4
|
|
5
|
-
I :heart: Close
|
6
|
-
|
7
|
-
Fwiw, I also run [DripEmails.com](https://www.DripEmails.com) -- a service for building automated email sequences using Close.io
|
5
|
+
I :heart: Close, so if you have problems using the gem or would like to see support for new endpoints, please open a GitHub issue -- I'll get it resolved as quick as I can.
|
8
6
|
|
9
7
|
### Installation
|
10
8
|
Add this line to your application's Gemfile:
|
11
9
|
````ruby
|
12
10
|
# in your Gemfile
|
13
|
-
gem 'closeio', '~> 3.
|
11
|
+
gem 'closeio', '~> 3.6'
|
14
12
|
|
15
13
|
# then...
|
16
14
|
bundle install
|
@@ -110,4 +108,4 @@ Everyone is encouraged to help improve this project. Here are a few ways you can
|
|
110
108
|
- Suggest or add new features
|
111
109
|
|
112
110
|
### Copyright
|
113
|
-
Copyright (c)
|
111
|
+
Copyright (c) 2019 Taylor Brooks. See LICENSE for details.
|
@@ -85,6 +85,30 @@ module Closeio
|
|
85
85
|
delete("#{call_path}#{id}/")
|
86
86
|
end
|
87
87
|
|
88
|
+
#
|
89
|
+
# SMS Activities
|
90
|
+
#
|
91
|
+
|
92
|
+
def list_sms(options = {})
|
93
|
+
get(sms_path, options)
|
94
|
+
end
|
95
|
+
|
96
|
+
def find_sms(id)
|
97
|
+
get("#{sms_path}#{id}/")
|
98
|
+
end
|
99
|
+
|
100
|
+
def create_sms
|
101
|
+
post(sms_path, options)
|
102
|
+
end
|
103
|
+
|
104
|
+
def update_sms
|
105
|
+
put("#{sms_path}#{id}/", options)
|
106
|
+
end
|
107
|
+
|
108
|
+
def delete_sms(id)
|
109
|
+
delete("#{sms_path}#{id}/")
|
110
|
+
end
|
111
|
+
|
88
112
|
private
|
89
113
|
|
90
114
|
def activity_path
|
@@ -92,19 +116,23 @@ module Closeio
|
|
92
116
|
end
|
93
117
|
|
94
118
|
def note_path
|
95
|
-
|
119
|
+
"#{activity_path}note/"
|
96
120
|
end
|
97
121
|
|
98
122
|
def email_path
|
99
|
-
|
123
|
+
"#{activity_path}email/"
|
100
124
|
end
|
101
125
|
|
102
126
|
def emailthread_path
|
103
|
-
|
127
|
+
"#{activity_path}emailthread/"
|
104
128
|
end
|
105
129
|
|
106
130
|
def call_path
|
107
|
-
|
131
|
+
"#{activity_path}call/"
|
132
|
+
end
|
133
|
+
|
134
|
+
def sms_path
|
135
|
+
"#{activity_path}sms/"
|
108
136
|
end
|
109
137
|
end
|
110
138
|
end
|
data/lib/closeio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closeio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|