twitter_api 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc09a022d58f5e0622c294b63ab8fa854db3d841
4
- data.tar.gz: 92060cde99fb966e29b8c790acf6314b32891d55
3
+ metadata.gz: '01943580b5b7ee294e3c9ba3cbb0db1b83751e4f'
4
+ data.tar.gz: 8d5b4c40a1277dd6058ff1813cc1d8aa76c4b437
5
5
  SHA512:
6
- metadata.gz: daf22e2626e45c0d38150a3339432ef3e7e6afe593e80bb9d2467edd61171a1028018283902a29b5d9eb7fa27ed25ed948d6f0dc91c662c79151ef4faf1106fc
7
- data.tar.gz: de5c973426619de45888a637bcefffef762910b4c6a245ec13949f1e88fd376200e057ef157f52dc111063d32ad6a68c664749ef422de23f58c312ab37270bc3
6
+ metadata.gz: 174a40bc5f4a3c4740633db417cf29e3a352be9ca8da98f04e5e2418097cc4ae5db3bd7474330b20bff2d3f2e9d7ea39944fb9363799bdd987e9fff69a9c7d3a
7
+ data.tar.gz: f0c9bf31917513acf97cffec2827305b150546326632c917616d3e5c23503287a17277cb3b159919aff2126f5ea1aafd4040adef3548b6829752bee1a8b6b0a9
data/lib/twitter_api.rb CHANGED
@@ -159,6 +159,16 @@ module TwitterAPI
159
159
  get(resource_url, params)
160
160
  end
161
161
 
162
+ # GET statuses/lookup
163
+ # {https://dev.twitter.com/rest/reference/get/statuses/lookup}
164
+ #
165
+ # @param params [Hash] Parameters
166
+ # @return [TwitterAPI::Response]
167
+ def statuses_lookup(params)
168
+ resource_url = 'https://api.twitter.com/1.1/statuses/lookup.json'
169
+ get(resource_url, params)
170
+ end
171
+
162
172
  # GET statuses/mentions_timeline
163
173
  # {https://dev.twitter.com/rest/reference/get/statuses/mentions_timeline}
164
174
  #
@@ -1,3 +1,3 @@
1
1
  module TwitterAPI
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naoki Iwasawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-02 00:00:00.000000000 Z
11
+ date: 2017-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_oauth