lib/recurly/resources/subscription.rb in recurly-3.0.0.beta.4 vs lib/recurly/resources/subscription.rb in recurly-3.0.0.beta.5
- old
+ new
@@ -34,11 +34,11 @@
# @return [DateTime] Canceled at
define_attribute :canceled_at, DateTime
# @!attribute collection_method
# @return [String] Collection method
- define_attribute :collection_method, String, { :enum => ["automatic", "manual"] }
+ define_attribute :collection_method, String
# @!attribute coupon_redemptions
# @return [Array[CouponRedemptionMini]] Coupon redemptions
define_attribute :coupon_redemptions, Array, { :item_type => :CouponRedemptionMini }
@@ -130,10 +130,10 @@
# @return [ShippingAddress]
define_attribute :shipping_address, :ShippingAddress
# @!attribute state
# @return [String] State
- define_attribute :state, String, { :enum => ["active", "canceled", "expired", "failed", "future", "paused"] }
+ define_attribute :state, String
# @!attribute subtotal
# @return [Float] Estimated total, before tax.
define_attribute :subtotal, Float