Class: Pushr::ConfigurationApns

Inherits:
Configuration
  • Object
show all
Defined in:
lib/pushr/configuration_apns.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#certificateObject

Returns the value of attribute certificate.



3
4
5
# File 'lib/pushr/configuration_apns.rb', line 3

def certificate
  @certificate
end

#certificate_passwordObject

Returns the value of attribute certificate_password.



4
5
6
# File 'lib/pushr/configuration_apns.rb', line 4

def certificate_password
  @certificate_password
end

#sandboxObject

Returns the value of attribute sandbox.



4
5
6
# File 'lib/pushr/configuration_apns.rb', line 4

def sandbox
  @sandbox
end

#skip_check_for_errorObject

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

#nameObject



9
10
11
# File 'lib/pushr/configuration_apns.rb', line 9

def name
  :apns
end

#to_hashObject



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