Sha256: 61fb95ecdfca4a09a2035b884b815bbb83ad98a10cf009cf89ade10dc618aecc
Contents?: true
Size: 319 Bytes
Versions: 3
Compression:
Stored size: 319 Bytes
Contents
module Conekta module Operations module CustomAction def custom_action(method, action=nil, params=nil) _url = action ? [self._url, action].join('/') : self._url response = Requestor.new.request(method, _url, params) self.load_from(response) self end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
conekta-1.0.0 | lib/conekta/operations/custom_action.rb |
conekta-0.5.8 | lib/conekta/operations/custom_action.rb |
conekta-0.5.7 | lib/conekta/operations/custom_action.rb |