Sha256: 8f0edbcecb527c9b86a303ce92dc4c62f6d7ca6710cc9a51768f8a84c57faed1

Contents?: true

Size: 269 Bytes

Versions: 6

Compression:

Stored size: 269 Bytes

Contents

module RockRMS
  module Response
    class SystemEmail < Base
      MAP = {
        title: 'Title',
        from: 'From',
        subject: 'Subject',
        body: 'Body'
      }.freeze

      def format_single(data)
        to_h(MAP, data)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rock_rms-9.14.0 lib/rock_rms/response/system_email.rb
rock_rms-9.13.0 lib/rock_rms/response/system_email.rb
rock_rms-9.12.0 lib/rock_rms/response/system_email.rb
rock_rms-9.11.0 lib/rock_rms/response/system_email.rb
rock_rms-9.10.0 lib/rock_rms/response/system_email.rb
rock_rms-8.2.0 lib/rock_rms/response/system_email.rb