lib/motion-resource/urls.rb in motion-resource-0.0.2 vs lib/motion-resource/urls.rb in motion-resource-0.1.0

- old
+ new

@@ -1,9 +1,9 @@ module MotionResource class Base - class_inheritable_accessor :collection_url, :member_url - class_inheritable_accessor :root_url, :default_url_options - class_inheritable_accessor :extension + class_attribute :collection_url, :member_url + class_attribute :root_url, :default_url_options + class_attribute :extension self.extension = '.json' class << self def custom_urls(params = {}) params.each do |name, url_format|