Sha256: 773afd3c0db6352eb40a78d6c1e52998ef148b8cc793924cc6b02b296cc751db

Contents?: true

Size: 801 Bytes

Versions: 43

Compression:

Stored size: 801 Bytes

Contents

# frozen_string_literal: true

module Files
  class EmailPreferenceNotification
    attr_reader :options, :attributes

    def initialize(attributes = {}, options = {})
      @attributes = attributes || {}
      @options = options || {}
    end

    # int64 - Email preferences ID
    def id
      @attributes[:id]
    end

    # string - Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    def path
      @attributes[:path]
    end

    # string - The time interval that notifications are aggregated to.  Can be five_minutes, fifteen_minutes, hourly, or daily
    def send_interval
      @attributes[:send_interval]
    end

    # boolean - Is unsubscribed?
    def unsubscribed
      @attributes[:unsubscribed]
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
files.com-1.0.49 lib/files.com/models/email_preference_notification.rb
files.com-1.0.48 lib/files.com/models/email_preference_notification.rb
files.com-1.0.47 lib/files.com/models/email_preference_notification.rb
files.com-1.0.46 lib/files.com/models/email_preference_notification.rb
files.com-1.0.45 lib/files.com/models/email_preference_notification.rb
files.com-1.0.44 lib/files.com/models/email_preference_notification.rb
files.com-1.0.43 lib/files.com/models/email_preference_notification.rb
files.com-1.0.42 lib/files.com/models/email_preference_notification.rb
files.com-1.0.41 lib/files.com/models/email_preference_notification.rb
files.com-1.0.40 lib/files.com/models/email_preference_notification.rb
files.com-1.0.39 lib/files.com/models/email_preference_notification.rb
files.com-1.0.38 lib/files.com/models/email_preference_notification.rb
files.com-1.0.37 lib/files.com/models/email_preference_notification.rb
files.com-1.0.36 lib/files.com/models/email_preference_notification.rb
files.com-1.0.35 lib/files.com/models/email_preference_notification.rb
files.com-1.0.34 lib/files.com/models/email_preference_notification.rb
files.com-1.0.33 lib/files.com/models/email_preference_notification.rb
files.com-1.0.32 lib/files.com/models/email_preference_notification.rb
files.com-1.0.31 lib/files.com/models/email_preference_notification.rb
files.com-1.0.30 lib/files.com/models/email_preference_notification.rb