entrata 1.2.0 → 1.2.1

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: b67937a35dbe94da3aba8e507c91ce2071c501f4d6749b13c5cb8a61259bb01a
4
+ data.tar.gz: 18c7849a9e00d6a56f49d2b96258a42cee3a3aa59ec872e4aa102253df832128
5
5
  SHA512:
6
- metadata.gz: 00fc8ee9ee524713b4dffcf51d8b02f89a4ded1a4b3ccabb321dc5a5b0bc54f08fc6b9592a681be8f24febac39b153537d880f1c2079274188d7afb0076498f5
7
- data.tar.gz: cf29a5c1611ecd67622c319c55fabc7b2b1bbfe720351f2c54e4a6279c2d166681d7dbbd451f3b9dfe1bcdcffc8d82bfaa22bdd1464a4f2c3a17f4d0295a7631
6
+ metadata.gz: 63f260606f1f0304ac1d53f582a20164eedd85e8fb7d4e20b5b778800b393c297827799287a759f0c8400f1b4a98e9c2108415461a7192d446d90e197404346b
7
+ data.tar.gz: 85c40e922e28e6322db5a92508238a326fd2d2e74c393a1448b75726ba67913a11ee06a4b601d7e05737f9bce20dea62aab61420d11fd5cf92c67e99ab710417
data/README.md CHANGED
@@ -17,6 +17,8 @@ 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.
20
22
 
21
23
  ## Installation
22
24
 
@@ -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.1'
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.1
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-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport