Sha256: b8b33fb001d5b4f3fa55933c5eaad09a53eedf4a02bccd3eaa8bc17c9996da66

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

# frozen_string_literal: true

module PagSeguro
  class Sessions
    include Restful

    def create
      response = post("/v2/sessions", nil, xml: :simple)
      response.session
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pagseguro_next-1.0.6 lib/pagseguro/sessions.rb
pagseguro_next-1.0.5 lib/pagseguro/sessions.rb
pagseguro_next-1.0.4 lib/pagseguro/sessions.rb
pagseguro_next-1.0.3 lib/pagseguro/sessions.rb