Module: C2dm

Defined in:
lib/c2dm-rails.rb,
lib/connection.rb

Defined Under Namespace

Classes: Connection, Engine

Constant Summary collapse

@@auth_url =
'https://www.google.com/accounts/ClientLogin'
@@push_url =
'https://android.apis.google.com/c2dm/send'

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (C2dm)

    the object that the method was called on



11
12
13
# File 'lib/c2dm-rails.rb', line 11

def self.setup
  yield self
end