songdrop 0.1.14 → 0.1.15

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: ee6b820bf6a5d2157175467f282eea325756039f
4
- data.tar.gz: 033b3ed2442f71da1bed59dbd9d43d527faa686e
3
+ metadata.gz: 9909fe10924e548e4b82f645293d1ebb1302e54c
4
+ data.tar.gz: e8f9f1e0558be53192336df7dc52512b5450796d
5
5
  SHA512:
6
- metadata.gz: be4efe278526ada4115bc4ab70d4dc73cc904f71eed7951cfdcd5eb4e374ea9b964abbe4c6ba580a0b9ae112a163d224cd6b40b1b7f9679013fff462a4851432
7
- data.tar.gz: dfdc134d682fea529062426b32ea6ec9b75920f8de4b3d2f12011800cfd8beee185444c66ab67064447f5bf2437fa0fae172c6239f9c47ab3b29119a970aecc4
6
+ metadata.gz: 06c534cfe247d4b92df260bd34fc35662d773aa704fff97372fad57ccb77ead5384b312160b1b9c6f098798721f96073a1a4b7629473fe17738967d74cb77df4
7
+ data.tar.gz: e8761e99cb90e2957dd9ac470c9e6c48c4971de359dd2e41894da493b2168dfd5e6f3fb7f15272b66930514d5dc3636b1fffaaa8a1800dc021563d27db0a3c0e
@@ -1,5 +1,8 @@
1
1
  module Songdrop
2
2
  class Error < Base
3
+ def error?
4
+ true
5
+ end
3
6
  end
4
7
 
5
8
  class Errors < Base
@@ -0,0 +1,4 @@
1
+ module Songdrop
2
+ class Response < Base
3
+ end
4
+ end
@@ -79,6 +79,7 @@ module Songdrop
79
79
  when :play then Play.new(properties)
80
80
  when :like then Like.new(properties)
81
81
  when :following then Following.new(properties)
82
+ when :response then Response.new(properties)
82
83
  when :error then Error.new(properties)
83
84
  when :errors then Errors.new(properties)
84
85
  else "[Songdrop::Parser] Don't know how to objectize #{type}"
data/lib/songdrop.rb CHANGED
@@ -30,6 +30,7 @@ else
30
30
  require_relative './songdrop/objects/like'
31
31
  require_relative './songdrop/objects/following'
32
32
  require_relative './songdrop/objects/error'
33
+ require_relative './songdrop/objects/response'
33
34
  require_relative './songdrop/http/rest-client'
34
35
  require_relative './songdrop/json/json'
35
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: songdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-26 00:00:00.000000000 Z
11
+ date: 2013-08-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: songdrop is a Ruby & RubyMotion client for the Songdrop.com API.
14
14
  email: moomerman@gmail.com
@@ -36,6 +36,7 @@ files:
36
36
  - lib/songdrop/objects/like.rb
37
37
  - lib/songdrop/objects/mix.rb
38
38
  - lib/songdrop/objects/play.rb
39
+ - lib/songdrop/objects/response.rb
39
40
  - lib/songdrop/objects/song.rb
40
41
  - lib/songdrop/objects/user.rb
41
42
  homepage: https://github.com/moomerman/songdrop_ruby