Class: Recurly::Resources::CouponDiscountTrial
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::CouponDiscountTrial
- Defined in:
- lib/recurly/resources/coupon_discount_trial.rb
Instance Attribute Summary collapse
-
#length ⇒ Integer
Trial length measured in the units specified by the sibling `unit` property.
-
#unit ⇒ String
Temporal unit of the free trial.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#length ⇒ Integer
Returns Trial length measured in the units specified by the sibling `unit` property.
11 |
# File 'lib/recurly/resources/coupon_discount_trial.rb', line 11 define_attribute :length, Integer |
#unit ⇒ String
Returns Temporal unit of the free trial.
15 |
# File 'lib/recurly/resources/coupon_discount_trial.rb', line 15 define_attribute :unit, String |