Class: BMO::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bmo/configuration.rb

Overview

Handles all the configuration per provider

Defined Under Namespace

Classes: APNS, GCM

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
# File 'lib/bmo/configuration.rb', line 7

def initialize
  @apns = APNS.new
  @gcm  = GCM.new
end

Instance Attribute Details

#apnsObject (readonly)

Returns the value of attribute apns.



5
6
7
# File 'lib/bmo/configuration.rb', line 5

def apns
  @apns
end

#gcmObject (readonly)

Returns the value of attribute gcm.



5
6
7
# File 'lib/bmo/configuration.rb', line 5

def gcm
  @gcm
end