instagramrb 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/instagramrb/client.rb +7 -2
- data/lib/instagramrb/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: 122e0eb2cdb14fafd8be5d645cc60ceae528af82
|
4
|
+
data.tar.gz: 154adcf51c14877a83f09a63f0d187ece0065a86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4128970882e66a6dfba007cdf9d8e7d44a69771003c4ca2e0461bc92cb7b7822f94f6e54bb3537c2f04d406e7020cd5869bb0eb1719871eeec3acadf054f19c2
|
7
|
+
data.tar.gz: f3695372175c147ac98ac2f3e18485769bd0c439f70abfe07756c20abfb9645d1079b17fa93db153ab6d8f86c34628ac904e47a5c2536c43652c1f10bc08f3e2
|
data/lib/instagramrb/client.rb
CHANGED
@@ -37,9 +37,14 @@ module Instagramrb
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
+
def fetch(url)
|
41
|
+
fullUrl = "https://api.instagram.com/"+ url + "/?access_token=" + @access_token
|
42
|
+
get(fullUrl)
|
43
|
+
end
|
44
|
+
|
40
45
|
private
|
41
|
-
def get(url
|
42
|
-
response = HTTP.get url
|
46
|
+
def get(url)
|
47
|
+
response = HTTP.get url
|
43
48
|
JSON.parse(response)
|
44
49
|
end
|
45
50
|
|
data/lib/instagramrb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instagramrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DilumN
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|