Class: Rpush::ApnsFeedbackReceiverConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/rpush/configuration.rb

Overview

rubocop:disable Style/StructInheritance

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeApnsFeedbackReceiverConfiguration

Returns a new instance of ApnsFeedbackReceiverConfiguration.



27
28
29
30
31
# File 'lib/rpush/configuration.rb', line 27

def initialize
  super
  self.enabled = true
  self.frequency = 60
end

Instance Attribute Details

#enabledObject

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



26
27
28
# File 'lib/rpush/configuration.rb', line 26

def enabled
  @enabled
end

#frequencyObject

Returns the value of attribute frequency

Returns:

  • (Object)

    the current value of frequency



26
27
28
# File 'lib/rpush/configuration.rb', line 26

def frequency
  @frequency
end