Sha256: 3596d5d738f7f04b469c04923f8ac8c2b4fecc9054a8ce5401206f59ff41a945
Contents?: true
Size: 536 Bytes
Versions: 10
Compression:
Stored size: 536 Bytes
Contents
module Conekta 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) instance.load_from(response) instance end # <b>DEPRECATED:</b> Please use <tt>where</tt> instead. alias_method :all, :where end def self.included(base) base.extend(ClassMethods) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems