freshmail 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/freshmail/client.rb +2 -2
- data/lib/freshmail/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a0f736a051da92683f01d99a281e27abe62c1a1
|
4
|
+
data.tar.gz: c92c1c3cae33e49c8bf781483f78bf1bc28f9ea8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab7a6353912962a72e0dd8a49eeb26bfcba4aab2e852c2c568909097d2a5e6be137df5a702b399445474b37a9c845422d1b048314f1b4a693ecb1492f2cce7b6
|
7
|
+
data.tar.gz: ce196f8a9b08f28f291e99e63d9e205bb2aa2355082b4bfa8edc7c02143b59347db818ffa7a29af6a1452c39ed08dcd8b2085d42dfab192fe8d503e0850d51ec
|
data/lib/freshmail/client.rb
CHANGED
@@ -2,7 +2,7 @@ module Freshmail
|
|
2
2
|
class Client
|
3
3
|
attr_accessor :api_key, :api_secret
|
4
4
|
|
5
|
-
URL = 'https://
|
5
|
+
URL = 'https://api.freshmail.pl'
|
6
6
|
|
7
7
|
def initialize(api_key, api_secret)
|
8
8
|
@api_key = api_key || self.class.api_key || ENV['FRESHMAIL_API_KEY']
|
@@ -26,7 +26,7 @@ module Freshmail
|
|
26
26
|
list = sub_info[:list]
|
27
27
|
email = sub_info[:email]
|
28
28
|
|
29
|
-
call_freshmail(:get, "subscriber/get/#{
|
29
|
+
call_freshmail(:get, "subscriber/get/#{list}/#{email}")
|
30
30
|
end
|
31
31
|
|
32
32
|
def subscribers(sub_info = {})
|
data/lib/freshmail/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: freshmail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Jan Adamczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|