lib/recurly/resource.rb in recurly-3.0.0.beta.3 vs lib/recurly/resource.rb in recurly-3.0.0.beta.4
- old
+ new
@@ -16,20 +16,20 @@
def ==(other_resource)
self.attributes == other_resource.attributes
end
- protected
-
- def initialize(attributes = {})
- @attributes = attributes.clone
- end
-
def to_s
self.inspect
end
+ protected
+
def schema
self.class.schema
+ end
+
+ def initialize(attributes = {})
+ @attributes = attributes.clone
end
end
end