lib/recurly/gift_card.rb in recurly-2.10.0 vs lib/recurly/gift_card.rb in recurly-2.10.1
- old
+ new
@@ -1,10 +1,11 @@
module Recurly
class GiftCard < Resource
belongs_to :invoice
belongs_to :gifter_account, class_name: :Account, readonly: false
belongs_to :recipient_account, class_name: :Account, readonly: false
- has_one :delivery, readonly: false
+ has_one :delivery, readonly: false, class_name: :Delivery
+ has_one :address, readonly: false, class_name: :Address
define_attribute_methods %w(
balance_in_cents
currency
created_at