john-mayer 0.0.10 → 0.0.11

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.
Files changed (2) hide show
  1. data/lib/foursquare/checkin.rb +8 -0
  2. metadata +3 -3
@@ -13,6 +13,14 @@ module Foursquare
13
13
  self
14
14
  end
15
15
 
16
+ def type
17
+ @json["type"]
18
+ end
19
+
20
+ def shout?
21
+ type == "shout"
22
+ end
23
+
16
24
  def shout
17
25
  @json["shout"]
18
26
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: john-mayer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 10
10
- version: 0.0.10
9
+ - 11
10
+ version: 0.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Nakajima