recurly 3.1.3 → 3.2.0

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: f119533cd9b8ee3006b53800f1485919eed12822a9f90e664e2e7c394621d1bc
4
- data.tar.gz: 8fe195a71e1e14294821ebd0bcac5ade47162e807aabdfc0d0fedffb40b883e6
3
+ metadata.gz: c07fea3f3bce8c902e347f05eced638a99af676d33c39deb3d9ba291db19fa3f
4
+ data.tar.gz: a75a5c8dbbe5fa8e96397cbeccfdf2c58732a73208b86d4dd7f06438363dc04a
5
5
  SHA512:
6
- metadata.gz: 48e21f1ee59a87a001e41a98c9bf96e636bb7973c8df8e5354cf65f6358188378e187614d7f7516840c5ab7ccad37f80c7029a7f16a91a5c6aca9cf0c8c0e576
7
- data.tar.gz: e6a091358b4a5bae79da270cdd66efb7f5b695c388f6865f8caff7fdf4ee9d39d3997a64f3cee0483d1805df10b0ce04b04999b367a8b84737e6637435241dca
6
+ metadata.gz: e08c3842bbc769b7a52e6c0829b29ad465eddc5d2e158545ca34f83242b226a18ba51a2bb49e7bcaf77724bdbc39dd49f47530ce61f361605ca8f20d52937407
7
+ data.tar.gz: 525a150807f10b837462e514a22c21607a03f83b7c94fc7fa64588ae6accb9755d2367863f64923a61639fe82999eb2fca6d9351f1f53b0aaf31d8bf76aae2a6
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.1.3
2
+ current_version = 3.2.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
5
5
  In your Gemfile, add `recurly` as a dependency.
6
6
 
7
7
  ```ruby
8
- gem 'recurly', '~> 3.1'
8
+ gem 'recurly', '~> 3.2'
9
9
  ```
10
10
 
11
11
  > *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
@@ -12,6 +12,7 @@ module Recurly
12
12
  define_attribute :data, Array, item_type: Hash
13
13
  define_attribute :has_more, :Boolean
14
14
  define_attribute :next, String
15
+ define_attribute :object, String
15
16
  end
16
17
  end
17
18
  end
@@ -46,6 +46,10 @@ module Recurly
46
46
  # @return [String]
47
47
  define_attribute :nickname, String
48
48
 
49
+ # @!attribute object
50
+ # @return [String] Object type
51
+ define_attribute :object, String
52
+
49
53
  # @!attribute phone
50
54
  # @return [String]
51
55
  define_attribute :phone, String
@@ -19,8 +19,6 @@ module Recurly
19
19
  def cast(attributes = {})
20
20
  resource = new()
21
21
  attributes.each do |attr_name, val|
22
- next if attr_name == "object"
23
-
24
22
  schema_attr = self.schema.get_attribute(attr_name)
25
23
 
26
24
  if schema_attr
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "3.1.3"
2
+ VERSION = "3.2.0"
3
3
  end
@@ -13162,6 +13162,10 @@ components:
13162
13162
  title: Shipping Address ID
13163
13163
  maxLength: 13
13164
13164
  readOnly: true
13165
+ object:
13166
+ type: string
13167
+ title: Object type
13168
+ readOnly: true
13165
13169
  account_id:
13166
13170
  type: string
13167
13171
  title: Account ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recurly
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.3
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-02 00:00:00.000000000 Z
11
+ date: 2019-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday