Sha256: a0749ddf1f2f33c33c82500b60a90981a59b82ce064d402e33eddee79a701339

Contents?: true

Size: 354 Bytes

Versions: 13

Compression:

Stored size: 354 Bytes

Contents

module Payjp
  module APIOperations
    module Create
      module ClassMethods
        def create(params = {}, opts = {})
          response, opts = request(:post, url, params, opts)
          Util.convert_to_payjp_object(response, opts)
        end
      end

      def self.included(base)
        base.extend(ClassMethods)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
payjp-0.0.16 lib/payjp/api_operations/create.rb
payjp-0.0.14 lib/payjp/api_operations/create.rb
payjp-0.0.13 lib/payjp/api_operations/create.rb
payjp-0.0.12 lib/payjp/api_operations/create.rb
payjp-0.0.10 lib/payjp/api_operations/create.rb
payjp-0.0.9 lib/payjp/api_operations/create.rb
payjp-0.0.8 lib/payjp/api_operations/create.rb
payjp-0.0.7 lib/payjp/api_operations/create.rb
payjp-0.0.6 lib/payjp/api_operations/create.rb
payjp-0.0.5 lib/payjp/api_operations/create.rb
payjp-0.0.4 lib/payjp/api_operations/create.rb
payjp-0.0.3 lib/payjp/api_operations/create.rb
payjp-0.0.2 lib/payjp/api_operations/create.rb