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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67e09d26c83f3375f5ed2291c6b9affa5c8f2c13
4
- data.tar.gz: 5abf6fe9247a63f092841a3d0cfa45e25966e5bc
3
+ metadata.gz: 9a0f736a051da92683f01d99a281e27abe62c1a1
4
+ data.tar.gz: c92c1c3cae33e49c8bf781483f78bf1bc28f9ea8
5
5
  SHA512:
6
- metadata.gz: e746c3cdc28109596971e64ef61490c908d1df9f423c7e678c90f5d104dd6e8494c11a60a9136c334c2948a36f1f8d9871eb71fdc1cdf07617bcf8e8007f2f78
7
- data.tar.gz: cd9b660ffbdc3a54829bc1fdf38f193cc6b0a759c27efd19b04a6472794b67a2c34cd5339fff830ad46d289a8820efa4f604798a86a46ea0348fc0d636ad6fe2
6
+ metadata.gz: ab7a6353912962a72e0dd8a49eeb26bfcba4aab2e852c2c568909097d2a5e6be137df5a702b399445474b37a9c845422d1b048314f1b4a693ecb1492f2cce7b6
7
+ data.tar.gz: ce196f8a9b08f28f291e99e63d9e205bb2aa2355082b4bfa8edc7c02143b59347db818ffa7a29af6a1452c39ed08dcd8b2085d42dfab192fe8d503e0850d51ec
@@ -2,7 +2,7 @@ module Freshmail
2
2
  class Client
3
3
  attr_accessor :api_key, :api_secret
4
4
 
5
- URL = 'https://app.freshmail.pl'
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/#{l}/#{e}")
29
+ call_freshmail(:get, "subscriber/get/#{list}/#{email}")
30
30
  end
31
31
 
32
32
  def subscribers(sub_info = {})
@@ -1,3 +1,3 @@
1
1
  module Freshmail
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-09 00:00:00.000000000 Z
11
+ date: 2015-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails