entrata 1.2.0 → 1.2.2

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: e080b32ca40b4be9e72097820c3f1244d59e286c0f4e1776fe469c7ec7edae76
4
- data.tar.gz: 07c3e01ea57af5ab97787371516a67dab5da29c0cbc91982eb53aee3bd277f2f
3
+ metadata.gz: a44f297b5cf61117dccaa5856aaeac90775bf696f321513719e0f0d28a92fa25
4
+ data.tar.gz: a6ab0dad4de71dd6960c3970b18c3282d6b8f21fc1cae3da308d7125291f0d29
5
5
  SHA512:
6
- metadata.gz: 00fc8ee9ee524713b4dffcf51d8b02f89a4ded1a4b3ccabb321dc5a5b0bc54f08fc6b9592a681be8f24febac39b153537d880f1c2079274188d7afb0076498f5
7
- data.tar.gz: cf29a5c1611ecd67622c319c55fabc7b2b1bbfe720351f2c54e4a6279c2d166681d7dbbd451f3b9dfe1bcdcffc8d82bfaa22bdd1464a4f2c3a17f4d0295a7631
6
+ metadata.gz: dadb4823a2f2aeee9f63352b4e259f41f995a0827f385869cb1f151feacd1ff6581d14ede9682045a3b4f15907084c64ccc82d44f0b15a09196de44031261135
7
+ data.tar.gz: 0e2092a5cf4e7d641e3e1378674625633a101e52b82a4b15208856b4a6439651ebadb2658dc867dea74c044d7dbbad22f0f3f1366ac20210a6a7aaaeca021d1c
data/README.md CHANGED
@@ -17,6 +17,9 @@ Ruby client for Entrata API
17
17
  * 1.0.4 Make entrata gem compatible with Ruby 3 syntax updates
18
18
  * 1.0.5 No functional changes. Updating build pipeline to publish to GitHub Packages.
19
19
  * 1.1.0 Adding services to manage lea lite inactive and reactive guestcard requests.
20
+ * 1.2.0 Adding services to manage lea lite general guestcard requests.
21
+ * 1.2.1 Using mountain time in reactivate guestcard flow.
22
+ * 1.2.2 Byebug removed.
20
23
 
21
24
  ## Installation
22
25
 
@@ -81,7 +81,6 @@ module Entrata
81
81
  end
82
82
 
83
83
  def send_general_leads(customer:, lead_source_id:, preferences:, property_id:)
84
- byebug
85
84
  Request::SendGeneralLeads.new(
86
85
  conn: basic_auth_conn,
87
86
  customer: customer,
@@ -39,7 +39,7 @@ module Entrata
39
39
 
40
40
  def resource_params
41
41
  # all dates and times used in the API are assumed to be in Mountain Time (MST or MDT)
42
- five_minutes_ago = 5.minutes.ago.strftime('%m/%d/%YT%H:%M:%S')
42
+ five_minutes_ago = 5.minutes.ago.in_time_zone('America/Denver').strftime('%m/%d/%YT%H:%M:%S')
43
43
  {
44
44
  propertyId: property_id, # Entrata remote property ID
45
45
  doNotSendConfirmationEmail: '1', # Suppress email to renter - need to validate
@@ -1,3 +1,3 @@
1
1
  module Entrata
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entrata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Richard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-28 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport