calendlyr 0.5.0 → 0.6.0

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: 8333c9dbe0f1d7e633eaff538790c0cd4f57ee3d9cf8c1b0f5e4638373578a60
4
- data.tar.gz: 9eb3dfaab07649e6b15d1fca3286c6fab0592a74f689f6809c7b2506e13e6b2b
3
+ metadata.gz: 4dba013e04be70a3fdefdae9d2457b5f14b22d8cfd253b6b9247237b1a33aec6
4
+ data.tar.gz: 9900aa135496d99c7e6e1a13071e2b7366153f9d47db00d5265ac96b61a029dc
5
5
  SHA512:
6
- metadata.gz: 81f0d93eb9049accadaf68e8af5174800bfb6630570008a69d50e3f0ede02c60d9577a59e9a2aa161d92c68222957cefae618fee7471b5474d2569317b8e86ab
7
- data.tar.gz: 6073bce53858d69dc7c40b814e54bd3d3dce0be7abf720873f55441b2b1e62eae360ecf30b4f201703c12cd337b94b8ff7a1e78370e1848bc1844e262c2f393a
6
+ metadata.gz: 165450520bdd93a7e6f30566035db95ff2bd99b764bd86c1ea44e52e90cdf398636791e49f7829dbbd238ef966cf6e09562f4b2fed0149985152cc11cc81b13b
7
+ data.tar.gz: 3885225e6feaea75a074f868ae3ad321c33a4c6413455ee9c10a16ba186e7144972391a20a125804f623ba9de92d69164560701fed6815e9fea9d9b1ce8f7f7c
data/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [0.5.0]
5
+ ## [0.6.0]
6
6
  * First real usable release :tada:
7
7
 
8
- [0.5.0]: https://github.com/araluce/calendlyr/compare/v0.1.0...v0.5.0
8
+ [0.6.0]: https://github.com/araluce/calendlyr/compare/v0.1.0...v0.6.0
@@ -6,7 +6,7 @@ module Calendlyr
6
6
  end
7
7
 
8
8
  def retrieve(event_uuid:, invitee_uuid:)
9
- EventInvitee.new get_request("scheduled_events/#{event_uuid}/invitees/#{invitee_uuid}").merge(client: client)
9
+ EventInvitee.new get_request("scheduled_events/#{event_uuid}/invitees/#{invitee_uuid}").dig("resource").merge(client: client)
10
10
  end
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Calendlyr
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -1,38 +1,40 @@
1
1
  {
2
- "cancel_url": "https://calendly.com/cancellations/AAAAAAAAAAAAAAAA",
3
- "created_at": "2020-01-01T20:30:00Z",
4
- "email": "email@example.com",
5
- "reschedule_url": "https://calendly.com/reschedulings/AAAAAAAAAAAAAAAA",
6
- "event": "https://api.calendly.com/scheduled_events/ABCDABCDABCDABCD",
7
- "name": "John Doe",
8
- "status": "active",
9
- "timezone": "America/New_York",
10
- "updated_at": "2020-01-01T20:30:00Z",
11
- "uri": "https://api.calendly.com/api/v2/scheduled_events/ABCDABCDABCDABCD/invitees/ABCDABCDABCDABCD",
12
- "questions_and_answers": [
13
- {
14
- "answer": "radio button answer",
15
- "position": 0,
16
- "question": "Question with Radio Buttons answer type"
17
- },
18
- {
19
- "answer": "Multiple line\nAnswer",
20
- "position": 1,
21
- "question": "Question with Multiple Lines answer type"
22
- },
23
- {
24
- "answer": "Answer 1\nAnswer 2\nAnswer 3",
25
- "position": 2,
26
- "question": "Question with Checkboxes answer type"
2
+ "resource": {
3
+ "cancel_url": "https://calendly.com/cancellations/AAAAAAAAAAAAAAAA",
4
+ "created_at": "2020-01-01T20:30:00Z",
5
+ "email": "email@example.com",
6
+ "reschedule_url": "https://calendly.com/reschedulings/AAAAAAAAAAAAAAAA",
7
+ "event": "https://api.calendly.com/scheduled_events/ABCDABCDABCDABCD",
8
+ "name": "John Doe",
9
+ "status": "active",
10
+ "timezone": "America/New_York",
11
+ "updated_at": "2020-01-01T20:30:00Z",
12
+ "uri": "https://api.calendly.com/api/v2/scheduled_events/ABCDABCDABCDABCD/invitees/ABCDABCDABCDABCD",
13
+ "questions_and_answers": [
14
+ {
15
+ "answer": "radio button answer",
16
+ "position": 0,
17
+ "question": "Question with Radio Buttons answer type"
18
+ },
19
+ {
20
+ "answer": "Multiple line\nAnswer",
21
+ "position": 1,
22
+ "question": "Question with Multiple Lines answer type"
23
+ },
24
+ {
25
+ "answer": "Answer 1\nAnswer 2\nAnswer 3",
26
+ "position": 2,
27
+ "question": "Question with Checkboxes answer type"
28
+ }
29
+ ],
30
+ "canceled": false,
31
+ "payment": {
32
+ "external_id": "ch_AAAAAAAAAAAAAAAAAAAAAAAA",
33
+ "provider": "stripe",
34
+ "amount": 1234.56,
35
+ "currency": "USD",
36
+ "terms": "sample terms of payment (up to 1,024 characters)",
37
+ "successful": true
27
38
  }
28
- ],
29
- "canceled": false,
30
- "payment": {
31
- "external_id": "ch_AAAAAAAAAAAAAAAAAAAAAAAA",
32
- "provider": "stripe",
33
- "amount": 1234.56,
34
- "currency": "USD",
35
- "terms": "sample terms of payment (up to 1,024 characters)",
36
- "successful": true
37
39
  }
38
40
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calendlyr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - araluce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-13 00:00:00.000000000 Z
11
+ date: 2021-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake