Sha256: 9c0a233ab55cdb6e8164b2476a0968fbb12808036d931634c9e943ec89f23286

Contents?: true

Size: 423 Bytes

Versions: 5

Compression:

Stored size: 423 Bytes

Contents

module Omniship #:nodoc:
  class Notification
    attr_reader :options
    attr_reader :email
    attr_reader :format
    attr_reader :language
    attr_reader :locale_code

    alias_method :email_address, :email

    def initialize(options = {})
      @email       = options[:email]
      @format      = options[:format]
      @language    = options[:language]
      @locale_code = options[:locale_code]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
omniship-0.4.7 lib/omniship/notification.rb
omniship-0.4.6 lib/omniship/notification.rb
omniship-0.4.5 lib/omniship/notification.rb
omniship-0.4.1 lib/omniship/notification.rb
omniship-0.4.0 lib/omniship/notification.rb