Sha256: 75d0d50e98d6a197a181856a5da86a375b756566d2e1a1ca4c24559eef2812fb
Contents?: true
Size: 275 Bytes
Versions: 25
Compression:
Stored size: 275 Bytes
Contents
module Fission class Response attr_accessor :code, :output, :data def initialize(args={}) @code = args.fetch :code, 1 @output = args.fetch :output, '' @data = args.fetch :data, nil end def successful? @code == 0 end end end
Version data entries
25 entries across 25 versions & 1 rubygems