lib/active_remote/dsl.rb in active_remote-5.0.0.pre vs lib/active_remote/dsl.rb in active_remote-5.0.0.rc1
- old
+ new
@@ -39,14 +39,14 @@
endpoints :update => endpoint
end
def endpoints(endpoints_hash = nil)
@endpoints ||= {
- :create => :create,
- :delete => :delete,
+ :create => :create,
+ :delete => :delete,
:destroy => :destroy,
- :search => :search,
- :update => :update
+ :search => :search,
+ :update => :update
}
@endpoints.merge!(endpoints_hash) if endpoints_hash.present?
@endpoints
end