lib/recurly/plan.rb in recurly-0.3.3 vs lib/recurly/plan.rb in recurly-0.3.4
- old
+ new
@@ -1,7 +1,19 @@
module Recurly
- class Plan < RecurlyBase
+ class Plan < Base
self.element_name = "plan"
self.prefix = "/company/"
self.primary_key = :plan_code
+
+ def self.known_attributes
+ [
+ "plan_code",
+ "name",
+ "description",
+ "success_url",
+ "cancel_url",
+ "created_at"
+ ]
+ end
+
end
end
\ No newline at end of file