songdrop 0.1.8 → 0.1.9

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: e9b48a38939efcce74f8b435291db6842e061cc8
4
- data.tar.gz: 87b9897d37769ee9c13323f81420a6e329cbcdaa
3
+ metadata.gz: df18922c9c38da7d0121988cd42d4eccc944fa96
4
+ data.tar.gz: 080914a666e2de3143534f86b00b2b4a81d84f23
5
5
  SHA512:
6
- metadata.gz: 34bdfc40f9ef92ff0f1d8fb6218d5229da5467ffe16dc0e75e9f9e28e11de4f8e8b3f2d562b93fe9ed0553bf5a0d3d6980d8fe4a66deac33ddecf19550ccded5
7
- data.tar.gz: 0dd1b1e35f3ccd57bc347a777dd7a8e5bc226a137d1c49b46b6c0a4f06b384e0638098f2cea104d42c3e0b1e578a9c352bda9c2a60791b36c81fe8d882394ae8
6
+ metadata.gz: 8a6281ee21b26bee74116fa270d751021cc91de80c220a2140bf801a4afeb4cb7606f028c073675d42b7906d22ea730d9a0e283fbd095a2e20f767b2ad2437a0
7
+ data.tar.gz: 507554dfae822b3ec6ff41f15ace17628d2189d1742c34faef393cb504cf69f1b29b8fe199bbf480abb538b0e7c69f021f8ec7dc12bebf433cef550cd0c86850
@@ -9,5 +9,13 @@ module Songdrop
9
9
  end
10
10
  end
11
11
 
12
+ def signup(params, &block)
13
+ post('/users', params) do |user|
14
+ @auth_token = user.auth_token
15
+ block.call user if block
16
+ user
17
+ end
18
+ end
19
+
12
20
  end
13
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: songdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor