Sha256: 4cb9ae8c08c7186960c11eb8b342376632029c3cd62aca6fbf900477f6fe611d
Contents?: true
Size: 271 Bytes
Versions: 8
Compression:
Stored size: 271 Bytes
Contents
module Moneytree class TransactionResponse attr_reader :message, :status, :body def initialize(status, message, body = {}) @status = status @message = message @body = body end def success? @status == :success end end end
Version data entries
8 entries across 8 versions & 1 rubygems