lib/recurly/resources/coupon.rb in recurly-3.0.0.beta.2 vs lib/recurly/resources/coupon.rb in recurly-3.0.0.beta.3
- old
+ new
@@ -69,11 +69,11 @@
# @!attribute [r] object
# @return [String] Object type
define_attribute :object, String, {:read_only => true}
# @!attribute plans
- # @return [Array[String]] Plans
- define_attribute :plans, Array, {:item_type => String}
+ # @return [Array[PlanMini]] Plans
+ define_attribute :plans, Array, {:item_type => :PlanMini}
# @!attribute plans_names
# @return [Array[String]] TODO
define_attribute :plans_names, Array, {:item_type => String}