lib/access/favorite.rb in access-2.0.19 vs lib/access/favorite.rb in access-2.0.20
- old
+ new
@@ -15,10 +15,10 @@
@store = Access::Store.new(@store) if @store
end
def resource
- self.send(self.favoriteType)
+ self.send(self.favorite_type)
end
def self.search(options = {})
Access::Api.new.favorites_search options
end