Sha256: 48797617537c9239a1e4054f87158f5bca9feaf14e6b816db434d009bf32d31c
Contents?: true
Size: 628 Bytes
Versions: 1
Compression:
Stored size: 628 Bytes
Contents
module Crefo class Service class Report < Crefo::Service def initialize(options) raise 'identificationnumber is missing' unless options[:identificationnumber] raise 'legitimateinterest is missing' unless options[:legitimateinterest] raise 'producttype is missing' unless options[:producttype] || options[:productid] options[:reportlanguage] ||= Crefo.config.communicationlanguage options[:producttype] ||= "PRTY-#{options.delete(:productid)}" super(options) end end end end require 'crefo/service/report/response' require 'crefo/service/report/request'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crefo-0.3.0 | lib/crefo/service/report.rb |