mailing_client 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,17 +4,16 @@ module Mailing
4
4
  include MailingClient::ServiceConfiguration
5
5
 
6
6
  set_resource_path '/api/v0/scheduled_mails'
7
+ set_api_key "app_key", Mailing::API_KEY
7
8
 
9
+ attribute :id # The schedule ID
10
+ attribute :template_id # The template ID
8
11
  attribute :recipient_email # The person who is receiving the email
9
12
  attribute :send_at # When the email has been sent or will be sent
10
13
  attribute :delivered_at # When the email has been delivered
11
14
  attribute :contact_id # The padma-contact id
12
15
  attribute :username # The username who sends the mail
13
16
  attribute :template_name # The template name
14
-
15
- self.use_api_key = true
16
- self.api_key_name = "app_key"
17
- self.api_key = Mailing::API_KEY
18
17
 
19
18
  end
20
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailing_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-07 00:00:00.000000000 Z
12
+ date: 2013-07-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties