Module: Remail

Defined in:
lib/remail-rails2.rb

Defined Under Namespace

Classes: Email

Class Method Summary collapse

Class Method Details

.api_key=(key) ⇒ Object



14
15
16
# File 'lib/remail-rails2.rb', line 14

def api_key=(key)
  Email.headers["Authorization"] = key
end

.app_id=(name) ⇒ Object



9
10
11
# File 'lib/remail-rails2.rb', line 9

def app_id=(name)
  self.site = "http://#{name}.appspot.com"
end

.site=(site) ⇒ Object



4
5
6
# File 'lib/remail-rails2.rb', line 4

def site=(site)
  Email.site = site
end