closeio 3.17.0 → 3.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/closeio/client.rb +1 -0
- data/lib/closeio/resources/email_activity.rb +35 -0
- data/lib/closeio/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0b0036a5244fe2c15b4aab3c93b12c094793dfe4f21096fc16d8807455d8130
|
4
|
+
data.tar.gz: 1224c5fe0ecb69e9eb7520f4a34660274de6395cc3bd488ad75f6f54ecb11776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00c04b9d0ece7af2f818658515876dcefe65c5e35ef49677cea35a50728eb56db1f2c39a4590797af777a3378e3e3babbc569d9c550b8762901fc5e496f1f802
|
7
|
+
data.tar.gz: 42994c47e5128edca5cc9c5096c1816f531e02e7518608ce52dff0be1ade99b0e636ef34b6fc39ae3f986127a1c03feed323771c39fea568c6a6c32138d095c1
|
data/lib/closeio/client.rb
CHANGED
@@ -13,6 +13,7 @@ module Closeio
|
|
13
13
|
include Closeio::Client::CustomActivityType
|
14
14
|
include Closeio::Client::CustomField
|
15
15
|
include Closeio::Client::EmailAccount
|
16
|
+
include Closeio::Client::EmailActivity
|
16
17
|
include Closeio::Client::EmailTemplate
|
17
18
|
include Closeio::Client::Event
|
18
19
|
include Closeio::Client::IntegrationLink
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module Closeio
|
2
|
+
class Client
|
3
|
+
module EmailActivity
|
4
|
+
def list_email_activities(options = {}, paginate = false)
|
5
|
+
if paginate
|
6
|
+
paginate(email_activity_path, options)
|
7
|
+
else
|
8
|
+
get(email_activity_path, options)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def find_email_activity(id)
|
13
|
+
get("#{email_activity_path}#{id}/")
|
14
|
+
end
|
15
|
+
|
16
|
+
def create_email_activity(options = {})
|
17
|
+
post(email_activity_path, options)
|
18
|
+
end
|
19
|
+
|
20
|
+
def update_email_activity(id, options = {})
|
21
|
+
put("#{email_activity_path}#{id}/", options)
|
22
|
+
end
|
23
|
+
|
24
|
+
def delete_email_activity(id)
|
25
|
+
delete("#{email_activity_path}#{id}/")
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def email_activity_path
|
31
|
+
'activity/email/'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
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.18.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: 2025-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -135,6 +135,7 @@ files:
|
|
135
135
|
- lib/closeio/resources/custom_activity_type.rb
|
136
136
|
- lib/closeio/resources/custom_field.rb
|
137
137
|
- lib/closeio/resources/email_account.rb
|
138
|
+
- lib/closeio/resources/email_activity.rb
|
138
139
|
- lib/closeio/resources/email_template.rb
|
139
140
|
- lib/closeio/resources/event.rb
|
140
141
|
- lib/closeio/resources/filter.rb
|