Module: AndroidServices
- Defined in:
- lib/android_services.rb,
lib/android_services/exceptions.rb,
lib/android_services/configuration.rb,
lib/android_services/cloud_message/request.rb,
lib/android_services/cloud_message/response.rb,
lib/android_services/cloud_message/cloud_message.rb
Defined Under Namespace
Modules: Exceptions, GoogleCloudMessaging Classes: Configuration
Class Attribute Summary collapse
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Object
AndroidServices.configure do |config| config.api_key = ‘1232fsd23asd’ config.secure = true end.
Class Attribute Details
.configuration ⇒ Object
28 29 30 |
# File 'lib/android_services.rb', line 28 def configuration @configuration ||= Configuration.new end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
AndroidServices.configure do |config|
config.api_key = '1232fsd23asd'
config.secure = true
end
24 25 26 |
# File 'lib/android_services.rb', line 24 def configure yield(configuration) end |