Class: Pushr::ConfigurationApns
- Inherits:
-
Configuration
- Object
- Configuration
- Pushr::ConfigurationApns
- Defined in:
- lib/pushr/configuration_apns.rb
Instance Attribute Summary collapse
-
#certificate ⇒ Object
Returns the value of attribute certificate.
-
#certificate_password ⇒ Object
Returns the value of attribute certificate_password.
-
#sandbox ⇒ Object
Returns the value of attribute sandbox.
-
#skip_check_for_error ⇒ Object
Returns the value of attribute skip_check_for_error.
Instance Method Summary collapse
Instance Attribute Details
#certificate ⇒ Object
Returns the value of attribute certificate.
3 4 5 |
# File 'lib/pushr/configuration_apns.rb', line 3 def certificate @certificate end |
#certificate_password ⇒ Object
Returns the value of attribute certificate_password.
4 5 6 |
# File 'lib/pushr/configuration_apns.rb', line 4 def certificate_password @certificate_password end |
#sandbox ⇒ Object
Returns the value of attribute sandbox.
4 5 6 |
# File 'lib/pushr/configuration_apns.rb', line 4 def sandbox @sandbox end |
#skip_check_for_error ⇒ Object
Returns the value of attribute skip_check_for_error.
4 5 6 |
# File 'lib/pushr/configuration_apns.rb', line 4 def skip_check_for_error @skip_check_for_error end |
Instance Method Details
#name ⇒ Object
9 10 11 |
# File 'lib/pushr/configuration_apns.rb', line 9 def name :apns end |
#to_hash ⇒ Object
22 23 24 25 |
# File 'lib/pushr/configuration_apns.rb', line 22 def to_hash { type: self.class.to_s, app: app, enabled: enabled, connections: connections, certificate: certificate, certificate_password: certificate_password, sandbox: sandbox, skip_check_for_error: skip_check_for_error } end |