lib/conekta/operations/where.rb in conekta-0.5.6 vs lib/conekta/operations/where.rb in conekta-0.5.7
- old
+ new
@@ -2,11 +2,11 @@
module Operations
module Where
module ClassMethods
def where(params=nil)
instance = ConektaObject.new
- url = Util.types[self.class_name.downcase].url
- response = Requestor.new.request(:get, url,params)
+ _url = Util.types[self.class_name.downcase]._url
+ response = Requestor.new.request(:get, _url, params)
instance.load_from(response)
instance
end
# <b>DEPRECATED:</b> Please use <tt>where</tt> instead.