Sha256: 0024d75a4e7bb659df9a8a8f248b185722ee2ac09f187210a8bb100b3d38ccc6
Contents?: true
Size: 470 Bytes
Versions: 14
Compression:
Stored size: 470 Bytes
Contents
module Conekta module Operations module Find module ClassMethods def find(id) instance = self.new(id) response = Requestor.new.request(:get, instance._url) instance.load_from(response) instance end # <b>DEPRECATED:</b> Please use <tt>find</tt> instead. alias_method :retrieve, :find end def self.included(base) base.extend(ClassMethods) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems