Sha256: 9c80e871c85519320d01d18c08da3936f7060e688c10c29bc75d44daff7a5b9e
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
# frozen_string_literal: true module Kruger class Client class Response attr_reader :response def initialize(response = nil) @response = response end def body response.parsed_response end def success? response.success? end def status response.code end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kruger-0.1.1 | lib/kruger/client/response.rb |
kruger-0.1.0 | lib/kruger/client/response.rb |