Sha256: b3533a31a15203c535415e6df6a9eeaa98e4ea055923c5178016c6903e6a8b03
Contents?: true
Size: 427 Bytes
Versions: 3
Compression:
Stored size: 427 Bytes
Contents
module Paid module APIOperations module Create module ClassMethods def create(params={}, opts={}) api_key, headers = Util.parse_opts(opts) response, api_key = Paid.request(:post, self.url, api_key, params, headers) Util.convert_to_paid_object(response, api_key) end end def self.included(base) base.extend(ClassMethods) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
paid-0.0.3 | lib/paid/api_operations/create.rb |
paid-0.0.2 | lib/paid/api_operations/create.rb |
paid-0.0.1 | lib/paid/api_operations/create.rb |