rcs 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c4f938dc057c065a3e19738b32076a7e3de1353bee63a576a2ef4e94aa251ab
4
- data.tar.gz: 9b0fc9bd3deb8dcea98e657fb371ebe928cd6af1f298289527a6897e7265cca1
3
+ metadata.gz: 7c64d425bcacc2baf86894e594e3e03d7227f5c7221ad06c944a90138011d5fe
4
+ data.tar.gz: c3f8a91fdfacd860df015784ec8d51af1c91c0913f68cffc12a9f064614215bf
5
5
  SHA512:
6
- metadata.gz: b513da94e38a7e598888ae5863791c80ccea156752007722a53ea2a6d40696810677c5b059c2649ce28e6692a430106530ca13f32075ce4469b41181c69904ae
7
- data.tar.gz: 8102cbb7de42d81b5bda3758f468a8650eb13f8677a3e0b28a17da3e03541444e450716c55796609a48d394524de3e50cc5de588a2a530618d513ce407d759ec
6
+ metadata.gz: 50f8276cace3809d5a71d693115c584a68261e36970e46365124d6690d6aecdcbfff0cf67ecf661da9f3d82fc8ade6237e3b173bcf85a367453ed30167f75287
7
+ data.tar.gz: e9f306e9917eaa8afd72388d7a0a46e83eced1d1e7da446a20ea9c4289c25a1e5fd1a2e78cb829b96a7ccdc77ad028f5a676201470b804960ea7d6c4a7508200
@@ -11,7 +11,7 @@ module Pinnacle
11
11
  attr_reader :title
12
12
  # @return [Pinnacle::ActionType] Type of action for the button. 'openUrl' opens a URL, 'call' dials a phone
13
13
  # number, 'trigger' sends the predefined payload to the webhook when pressed,
14
- # 'requestLocation' requests the user's location, 'scheduleEvent' creates a
14
+ # 'requestUserLocation' requests the user's location, 'scheduleEvent' creates a
15
15
  # calendar event, 'sendLocation' sends a location.
16
16
  attr_reader :type
17
17
  # @return [String] Optional payload associated with the action. This payload encodes the respective
@@ -46,7 +46,7 @@ module Pinnacle
46
46
  # @param title [String] Title of the action (must be less than 25 characters).
47
47
  # @param type [Pinnacle::ActionType] Type of action for the button. 'openUrl' opens a URL, 'call' dials a phone
48
48
  # number, 'trigger' sends the predefined payload to the webhook when pressed,
49
- # 'requestLocation' requests the user's location, 'scheduleEvent' creates a
49
+ # 'requestUserLocation' requests the user's location, 'scheduleEvent' creates a
50
50
  # calendar event, 'sendLocation' sends a location.
51
51
  # @param payload [String] Optional payload associated with the action. This payload encodes the respective
52
52
  # fields for the action type and is required. For 'openUrl', the payload is the
@@ -3,13 +3,13 @@
3
3
  module Pinnacle
4
4
  # Type of action for the button. 'openUrl' opens a URL, 'call' dials a phone
5
5
  # number, 'trigger' sends the predefined payload to the webhook when pressed,
6
- # 'requestLocation' requests the user's location, 'scheduleEvent' creates a
6
+ # 'requestUserLocation' requests the user's location, 'scheduleEvent' creates a
7
7
  # calendar event, 'sendLocation' sends a location.
8
8
  class ActionType
9
9
  OPEN_URL = "openUrl"
10
10
  CALL = "call"
11
11
  TRIGGER = "trigger"
12
- REQUEST_LOCATION = "requestLocation"
12
+ REQUEST_USER_LOCATION = "requestUserLocation"
13
13
  SCHEDULE_EVENT = "scheduleEvent"
14
14
  SEND_LOCATION = "sendLocation"
15
15
  end
data/lib/requests.rb CHANGED
@@ -43,7 +43,7 @@ module Pinnacle
43
43
 
44
44
  # @return [Hash{String => String}]
45
45
  def get_headers
46
- headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "1.0.13" }
46
+ headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "1.0.14" }
47
47
  headers["PINNACLE-API-Key"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
48
48
  headers
49
49
  end
@@ -87,7 +87,7 @@ module Pinnacle
87
87
 
88
88
  # @return [Hash{String => String}]
89
89
  def get_headers
90
- headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "1.0.13" }
90
+ headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "rcs", "X-Fern-SDK-Version": "1.0.14" }
91
91
  headers["PINNACLE-API-Key"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
92
92
  headers
93
93
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''