brandspotter 1.0.1 → 1.0.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: c1f66dc40e057f5c3de9a3a2133bcc4411b2c1fc
4
- data.tar.gz: 8cbff907d7b5730cbf963d8f5e8b3526f2af8622
3
+ metadata.gz: abf0e1b68f53e827d9ab3f449cb9bbe9a8423b16
4
+ data.tar.gz: 3c7de790abbfb5cb588b01fbbb442112766a6c04
5
5
  SHA512:
6
- metadata.gz: f9bcd1d88217e66f0182a0e5347876ebdc52b38c3fff48e53c0a06d3a117dd5f8de5bc6f6bb134950ef962491390a646c986287355128e45368fde28df76eb22
7
- data.tar.gz: b86cc30386753a396a0c8ec9eec2003850192260329412e94c0f2d876ee638b95a1d14e4251ac696f8b6d57f923eab37dba4e6e0b0564090c7459e89088f3622
6
+ metadata.gz: 1385de4916a1588eddfcd2212727ec3e202c60f85059f3a7b8bf32c3e87d0fbd30f4f237d5b14c71938e148eb1348bfaece55055a2c1df7796d0fd96761b105b
7
+ data.tar.gz: 742f39b75ebba28a118d71e9a04bf13258364c30e7135c85ab6bed9fc5ed81c536643befb0fe612d878c88df3d160b063705fca75ef5efa2b875297d8cb4aef5
data/README.md CHANGED
@@ -7,7 +7,7 @@ API is currently invitation only.
7
7
 
8
8
  Add this line to your application's Gemfile:
9
9
 
10
- gem ‘brandspotter’, '~> 1.0.1'
10
+ gem ‘brandspotter’, '~> 1.0.2'
11
11
 
12
12
  And then execute:
13
13
 
@@ -47,6 +47,10 @@ Create a new initializer: (config/initializers/brandspotter.rb)
47
47
  client = Brandspotter::Client.new
48
48
  client.create_location(location: 'Amsterdam')
49
49
 
50
+ # create a new location with an instagram_location_id
51
+ client = Brandspotter::Client.new
52
+ client.create_location(instagram_location_id: 514276)
53
+
50
54
  # list all locations
51
55
  client = Brandspotter::Client.new
52
56
  client.locations
@@ -27,7 +27,7 @@ module Brandspotter
27
27
  end
28
28
 
29
29
  def create_location(opts={})
30
- opts.assert_valid_keys(:location)
30
+ opts.assert_valid_keys(:location, :instagram_location_id)
31
31
  post_request '/locations', opts
32
32
  end
33
33
 
@@ -1,3 +1,3 @@
1
1
  module Brandspotter
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brandspotter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dirk van Wensem
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-05-09 00:00:00.000000000 Z
12
+ date: 2016-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler