Sha256: d0f9098e8ecdff96558cc79bd7fa0a607b44f5d1e92173127a6870da39e4505c
Contents?: true
Size: 431 Bytes
Versions: 14
Compression:
Stored size: 431 Bytes
Contents
module Conekta module Operations module Create module ClassMethods def create(params) _url = Util.types[self.class_name.downcase]._url response = Requestor.new.request(:post, _url, params) instance = self.new instance.load_from(response) instance end end def self.included(base) base.extend(ClassMethods) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems