lib/recurly/requests/subscription_update.rb in recurly-3.0.0.beta.4 vs lib/recurly/requests/subscription_update.rb in recurly-3.0.0.beta.5
- old
+ new
@@ -10,11 +10,11 @@
# @return [Boolean] Whether the subscription renews at the end of its term.
define_attribute :auto_renew, :Boolean
# @!attribute collection_method
# @return [String] Change collection method
- define_attribute :collection_method, String, { :enum => ["automatic", "manual"] }
+ define_attribute :collection_method, String
# @!attribute custom_fields
# @return [Array[CustomField]]
define_attribute :custom_fields, Array, { :item_type => :CustomField }
@@ -41,10 +41,10 @@
# @!attribute renewal_billing_cycles
# @return [Integer] If `auto_renew=true`, when a term completes, `total_billing_cycles` takes this value as the length of subsequent terms. Defaults to the plan's `total_billing_cycles`.
define_attribute :renewal_billing_cycles, Integer
# @!attribute shipping_address
- # @return [ShippingAddressCreate] Create a shipping address on the account and assign it to the subscription. If this and `shipping_address_id` are both present, `shipping_address_id` will take precedence."
+ # @return [ShippingAddressCreate] Create a shipping address on the account and assign it to the subscription. If this and `shipping_address_id` are both present, `shipping_address_id` will take precedence.
define_attribute :shipping_address, :ShippingAddressCreate
# @!attribute shipping_address_id
# @return [String] Assign a shipping address from the account's existing shipping addresses.
define_attribute :shipping_address_id, String