Sha256: 298bff4fa7eb2bef8559f05512cc4f22562a30406a9a29ffad9c630af31bbf23

Contents?: true

Size: 184 Bytes

Versions: 2

Compression:

Stored size: 184 Bytes

Contents

# frozen_string_literal: true

module PagSeguro
  class Sessions
    include Restful

    def create
      response = post_xml("/v2/sessions")
      response.session
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pagseguro_next-1.0.2 lib/pagseguro/sessions.rb
pagseguro_next-1.0.1 lib/pagseguro/sessions.rb