john-mayer 0.0.11 → 0.0.12

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 +4 -0
  2. metadata +3 -3
@@ -21,6 +21,10 @@ module Foursquare
21
21
  type == "shout"
22
22
  end
23
23
 
24
+ def created_at
25
+ Time.at(@json["createdAt"].to_i)
26
+ end
27
+
24
28
  def shout
25
29
  @json["shout"]
26
30
  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: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 11
10
- version: 0.0.11
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Nakajima