instapi 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/instapi.rb +5 -1
- data/lib/instapi/version.rb +1 -1
- metadata +2 -2
data/lib/instapi.rb
CHANGED
@@ -19,7 +19,11 @@ class Instapi
|
|
19
19
|
raise LoginError if @client.cookies.empty?
|
20
20
|
@client
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
|
+
def login!
|
24
|
+
client
|
25
|
+
self
|
26
|
+
end
|
23
27
|
|
24
28
|
def add(url, options = {})
|
25
29
|
get('/api/add', {:url => url, :username => username, :password => password}.merge(options))
|
data/lib/instapi/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: instapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.4.
|
5
|
+
version: 1.4.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- jugyo
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-26 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httpclient
|