monza 1.3.7 → 1.3.8

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: 441bc579be3150547bfa2b26215ef90ba39ff5f4792d06008f2d5693fa078370
4
- data.tar.gz: a42a4897914ee9628bcc59b898d80a598fc08c8e29bf0466044a763bf9019178
3
+ metadata.gz: fac0efa28ee221749882e9916647707b5bc971b4e69d2130b060fe4edae76116
4
+ data.tar.gz: c868069c62c1d57b6e1342c7461913f098784ef78fa4a0ee49918154b8ce996e
5
5
  SHA512:
6
- metadata.gz: 205b6eb1b331e502fcd8c17c3057bd2f45fe98e1ece2afe22ff70714dcbfb7716bb9f10e2eb6e384aa89d461056c1615f9b9a1e85b09a10c687fc85356707796
7
- data.tar.gz: a246be0abc7030fb6d43f043d1808345a0f800457b293ec155a9de3941d64acffe3b7146cca53a0ca66f2c85d3dca37c5c1f6af7c537a16c213ac711ffca2873
6
+ metadata.gz: eb65d134815099da534f82ca3209b5a5c829ba911b5b6c51e9fb8b0b9d8eea6fbb42229342a2071726fa99380848d9b7523c5abea1218fb5ba57ac69d39ebbf3
7
+ data.tar.gz: bfb32460c257fc67f167faaedeba680b9045f6fa9b4a67be10418739536ea181956c5005a08c7f923fa649949644ad9f3fedecb2f4fed983522c783f99c3bcdf
@@ -23,6 +23,7 @@ module Monza
23
23
  attr_reader :expires_date_pst
24
24
  attr_reader :is_trial_period
25
25
  attr_reader :cancellation_date
26
+ attr_reader :is_in_intro_offer_period
26
27
 
27
28
  def initialize(attributes)
28
29
  @quantity = attributes['quantity'].to_i
@@ -57,6 +58,9 @@ module Monza
57
58
  if attributes['is_trial_period']
58
59
  @is_trial_period = attributes['is_trial_period'].to_bool
59
60
  end
61
+ if attributes['is_in_intro_offer_period']
62
+ @is_in_intro_offer_period = attributes['is_in_intro_offer_period'].to_bool
63
+ end
60
64
  if attributes['cancellation_date']
61
65
  @cancellation_date = DateTime.parse(attributes['cancellation_date'])
62
66
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Monza
4
- VERSION = '1.3.7'
4
+ VERSION = '1.3.8'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monza
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Garza
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-31 00:00:00.000000000 Z
11
+ date: 2020-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json