Sha256: 317073e39138a9b579103d37ef4e192d345a221cb96af0d35f6d38be9800c1d2
Contents?: true
Size: 410 Bytes
Versions: 12
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true module Cequens class Response attr_reader :api_response def initialize(api_response) @api_response = api_response end def success? api_response_body['replyCode'].zero? end def failure? !success? end def api_response_body api_response end def message api_response_body['replyMessage'] end end end
Version data entries
12 entries across 12 versions & 1 rubygems