Sha256: ecc06b1a6605a7dacc4868a87c20301d8e4e6bad7e13223d6d777ec76a40719b
Contents?: true
Size: 525 Bytes
Versions: 3
Compression:
Stored size: 525 Bytes
Contents
module Einvoice class Result attr_reader :response def initialize(response = nil) @response = response end def errors raise NotImplementedError, 'You must initialize one of Einvoice::Response subclasses then use it.' end def success? raise NotImplementedError, 'You must initialize one of Einvoice::Response subclasses then use it.' end def data raise NotImplementedError, 'You must initialize one of Einvoice::Response subclasses then use it.' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
einvoice-1.1.1 | lib/einvoice/result.rb |
einvoice-1.1.0 | lib/einvoice/result.rb |
einvoice-1.0.0 | lib/einvoice/result.rb |