Class: Moromi::Apns::Environment::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/moromi/apns/environment/base.rb

Direct Known Subclasses

Debug, InHouse, Production

Instance Method Summary collapse

Instance Method Details

#identifierObject


3
4
5
# File 'lib/moromi/apns/environment/base.rb', line 3

def identifier
  @identifier ||= Moromi::Apns.config.identifiers[key]
end

#keyObject

Raises:

  • (NotImplementedError)

7
8
9
# File 'lib/moromi/apns/environment/base.rb', line 7

def key
  raise NotImplementedError
end

#sandbox?Boolean

Returns:

  • (Boolean)

11
12
13
# File 'lib/moromi/apns/environment/base.rb', line 11

def sandbox?
  true
end