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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20c5f03296d14e83a2a95c372aea163e4c268bbf
4
- data.tar.gz: ba38cf669312357d7129d06de83edcee4a2dc6d7
3
+ metadata.gz: 122e0eb2cdb14fafd8be5d645cc60ceae528af82
4
+ data.tar.gz: 154adcf51c14877a83f09a63f0d187ece0065a86
5
5
  SHA512:
6
- metadata.gz: d0ca044b22ef55564f43297576571854f255cdf622a3e0f18fbaa76974b3886e75af8a98fa22b01200a010e96de2df48f3d55b3aca43e16851c09c69f59fb6aa
7
- data.tar.gz: 15151ecba486a6e201b8a76764b58779da233e6099ae64d1fae8b92bb91e19f86ec65fb3a74e4bf55babe37e353e02d7acc93aa5bbdb1161c7591713e4167c92
6
+ metadata.gz: 4128970882e66a6dfba007cdf9d8e7d44a69771003c4ca2e0461bc92cb7b7822f94f6e54bb3537c2f04d406e7020cd5869bb0eb1719871eeec3acadf054f19c2
7
+ data.tar.gz: f3695372175c147ac98ac2f3e18485769bd0c439f70abfe07756c20abfb9645d1079b17fa93db153ab6d8f86c34628ac904e47a5c2536c43652c1f10bc08f3e2
@@ -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, params={})
42
- response = HTTP.get url, :query => params
46
+ def get(url)
47
+ response = HTTP.get url
43
48
  JSON.parse(response)
44
49
  end
45
50
 
@@ -1,3 +1,3 @@
1
1
  module Instagramrb
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-10-23 00:00:00.000000000 Z
11
+ date: 2016-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler