lapse 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,8 +10,10 @@ module Lapse
10
10
  get('clips/featured').body
11
11
  end
12
12
 
13
- def clip(clip_id)
14
- get("clips/#{clip_id}").body
13
+ def clip(clip_id, slug = false)
14
+ params = {}
15
+ params[:slug] = true if slug
16
+ get("clips/#{clip_id}", params).body
15
17
  end
16
18
 
17
19
  def create_clip
data/lib/lapse/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Lapse
2
2
  # Verion of the Lapse gem
3
- VERSION = '0.0.14'
3
+ VERSION = '0.0.15'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lapse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-06-24 00:00:00.000000000 Z
14
+ date: 2013-06-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: multi_json
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: -1734552957873185352
111
+ hash: -4339710331859657088
112
112
  requirements: []
113
113
  rubyforge_project:
114
114
  rubygems_version: 1.8.23