class Moromi::Apns::Environment::Builder
Public Class Methods
all()
click to toggle source
# File lib/moromi/apns/environment/builder.rb, line 4 def all raise NotImplementedError end
build(identifier)
click to toggle source
# File lib/moromi/apns/environment/builder.rb, line 8 def build(identifier) all.each do |environment| return environment if identifier == environment.identifier end raise InvalidEnvironment.new(identifier) end