Sha256: 23f28dbedebedf5eaf7a76edb463eb932ed47a182c97ef4d1f016d6c6ba1f51d

Contents?: true

Size: 280 Bytes

Versions: 4

Compression:

Stored size: 280 Bytes

Contents

module WirecardGiropay
  class Testing
    def self.read_sample_file(file)
      File.read File.expand_path('../../../spec/support/' + file, __FILE__)
    end

    def self.sample_notification_success_xml
      read_sample_file 'sample_notification_success.xml'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wirecard_giropay-1.0.2 lib/wirecard_giropay/testing.rb
wirecard_giropay-1.0.1 lib/wirecard_giropay/testing.rb
wirecard_giropay-1.0.0 lib/wirecard_giropay/testing.rb
wirecard_giropay-0.0.2 lib/wirecard_giropay/testing.rb