Sha256: f01e80121092845f643d0babbc24d118412592660dde64d9dd59fb4737cbd90e

Contents?: true

Size: 184 Bytes

Versions: 2

Compression:

Stored size: 184 Bytes

Contents

# frozen_string_literal: true

require 'json'

module NubankSdk
  class Client
    def self.get_body(response)
      JSON.parse(response.body, symbolize_names: true)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nubank_sdk-0.3.0 lib/nubank_sdk/client.rb
nubank_sdk-0.2.0 lib/nubank_sdk/client.rb