closeio 3.5.1 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- 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: bb1daecd9039b808a429d34b2fa57f82009ecb3d2c57a26e71d733da2a22a159
|
4
|
+
data.tar.gz: c9f593d1150ea433a99f2a569e67e445e87f4a26c8d35bfb05c08f9c3febc111
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cacf449d1b61c86064c8a2735cc4f828cc61773a11be56588312f5f632d1260ddbb53633e2f309b427a14fd2cddb04dee86789c3eb3d063c106602316217c7b
|
7
|
+
data.tar.gz: 94dd891de8f66e94fa5c634a3cb7a5d2d9ba3a86cd3cdc0ca5f4a00e96c2b9ead63766e85150698907dafa098f21372a9641f97f76b30876535d60bb3f2a6d47
|
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(options)
|
101
|
+
post(sms_path, options)
|
102
|
+
end
|
103
|
+
|
104
|
+
def update_sms(id, options = {})
|
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.1
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|