google-apps-chat 1.1.1 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7beafff9699eca9b515f2e90acc5ae59c39882a539b1adfdba4390cfe187e3e6
4
- data.tar.gz: 1f97f846f1f72f9198046dc0e200f28bb1026eb3a2abe516da319dd431f0e860
3
+ metadata.gz: bb32873d210e49e0f212f9a01e8a53e5092ed354cca523ec8f5e1524b4a7bbfc
4
+ data.tar.gz: 7eca3ca7fd0cf37b4d9f380d527ff7d58db045a91a19d8e6659410026228208a
5
5
  SHA512:
6
- metadata.gz: 49bb3353e5c53cad8b3c9309acc704bd02f3890c94d6729ee54c6cf7d7748c7daf52c482b05972e6f33d9957d157b86c93ab61107892b6d88364042ac462a0bf
7
- data.tar.gz: 8c58bf69da7e182f4d6f863a2f6282afa778247ad2b54f77d5a918aebc9fb6df6679660758054870846a745d380423569b0908ccb4b80c612a50ae7ccf03871c
6
+ metadata.gz: bf3d8931b6e4df317f03e3a9e04724f1d537732d0e2961f3c2bcf7c96a796d468a53fd0f8153080432c87ce67e0d20074772081ceb428db3f590188b482f1660
7
+ data.tar.gz: b22a5da71294a5ade2403eb79f2d4bce5c810b7d46242a4e58f5916e1bb3b55e5494682a554bce5e89888d568057b2488095859a2d8242ef0378e32e773c5bf6
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/chat.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/apps/chat"
39
+
40
+ client = Google::Apps::Chat.chat_service
41
+ request = ::Google::Apps::Chat::V1::CreateMessageRequest.new # (request fields as keyword arguments...)
42
+ response = client.create_message request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Apps
22
22
  module Chat
23
- VERSION = "1.1.1"
23
+ VERSION = "1.2.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apps-chat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '3.0'
71
+ version: '3.2'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.6.8
78
+ rubygems_version: 3.6.9
79
79
  specification_version: 4
80
80
  summary: The Google Chat API lets you build Chat apps to integrate your services with
81
81
  Google Chat and manage Chat resources such as spaces, members, and messages.