zeus_sdk 0.6.7 → 0.6.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7a3850f9be61458aed6bd3ae1667d7253367090f6abd1954ee48a9692369f7e
4
- data.tar.gz: 06111c5544030758f34ad3a7f451b0ce09315e93fc016b2337d85aac6b3dd0b7
3
+ metadata.gz: 971d3dc0537cb45aee4947f444e04fb2dd525a3a6475bd63c980d165d940be05
4
+ data.tar.gz: 3afaa17e97f3c2962c57e53a1db9f6403a7741b7cf93de5528059ae1990c9186
5
5
  SHA512:
6
- metadata.gz: 4cc282512ffc1cd609aadf0b34578de3ec03eeb548b16653442a94d19f07d4eb652dde04e33e054f68b06aa76a542e1aea1675fca0d11a9721883292523b8ed2
7
- data.tar.gz: 5dec950502c8d3f43372649c7b24b600d775d2b2a1c2d7c942fa661c8931166f746d01c8c84b34a55caa068d926aaaa75d9c6e20857787f87f7501094dbf6a6b
6
+ metadata.gz: 774b9ca0c34246533cb6eada677212b78f8f06204a2ae92d132528f986a05f47245eaa14c9096d0e98c5d1b0eb55ade4a48df5d274eb9023a4eb23ba956c8b00
7
+ data.tar.gz: 671b68b7fcbb9c1b22aca28943477e433752ab1959f50e882b2ac9c00d5a842adc2887df26100d60769516759662a16c6b8018d83a196adb4ef7e37eac616da0
@@ -90,6 +90,40 @@ module ZeusSdk::V1
90
90
 
91
91
 
92
92
 
93
+ def get_waiting_list_emails(query)
94
+ resp = self.class.get("/api/v1/waiting_list_emails", query: query, headers: self.get_headers).parsed_response
95
+
96
+ return ApiResponse.new(resp)
97
+ end
98
+
99
+ def get_waiting_list_email(id)
100
+ resp = self.class.get("/api/v1/waiting_list_emails/#{id}", headers: self.get_headers).parsed_response
101
+
102
+ return ApiResponse.new(resp)
103
+ end
104
+
105
+ def create_waiting_list_email(waiting_list_email)
106
+ body = {waiting_list_email: waiting_list_email}
107
+ resp = self.class.post("/api/v1/waiting_list_emails/#{id}", body: body.to_json, headers: self.get_headers).parsed_response
108
+
109
+ return ApiResponse.new(resp)
110
+ end
111
+
112
+ def update_waiting_list_email(id, attributes)
113
+ body = {waiting_list_email: attributes}
114
+ resp = self.class.put("/api/v1/waiting_list_emails/#{id}", body: body.to_json, headers: self.get_headers).parsed_response
115
+
116
+ return ApiResponse.new(resp)
117
+ end
118
+
119
+ def destroy_waiting_list_email(id)
120
+ resp = self.class.delete("/api/v1/waiting_list_emails/#{id}", headers: self.get_headers).parsed_response
121
+
122
+ return ApiResponse.new(resp)
123
+ end
124
+
125
+
126
+
93
127
  def get_roles(query)
94
128
  resp = self.class.get("/api/v1/roles", query: query, headers: self.get_headers).parsed_response
95
129
 
@@ -1,3 +1,3 @@
1
1
  module ZeusSdk
2
- VERSION = "0.6.7"
2
+ VERSION = "0.6.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeus_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Campbell