Sha256: f6f6d2bb5629e4a97c14622d521535042ed128c942fb88a70ecb4e8c5a6906ad
Contents?: true
Size: 318 Bytes
Versions: 9
Compression:
Stored size: 318 Bytes
Contents
module Affirm class FailureResult extend Forwardable def_delegators :response, :status, :success? attr_reader :error attr_reader :response private :response def initialize(response) @response = response @error = Affirm::Responses::Error.new(response.body) end end end
Version data entries
9 entries across 9 versions & 1 rubygems