Module: Expo::Push::Middleware

Defined in:
lib/expo-push-middleware.rb,
lib/expo-push-middleware/version.rb

Defined Under Namespace

Classes: Client, Configuration

Constant Summary collapse

VERSION =
"0.1.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



14
15
16
# File 'lib/expo-push-middleware.rb', line 14

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



17
18
19
20
# File 'lib/expo-push-middleware.rb', line 17

def self.configure
  self.config ||= Expo::Push::Middleware::Configuration.new
  yield(config)
end