accounts_client 0.2.18 → 0.2.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/petal_subscription.rb +15 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c512161b4a4818aed8d61437f05ed2890ddc6899
|
4
|
+
data.tar.gz: 29f29bdd2bc9ab5666a38f64cdb0205c6bab178d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31080f2711a14b564235f6217a314ceecd50ff54335ab00734f38803976bfd9b4dc047894081f616a2a1ef875b1276db6af8ebd435ee90d612ce8bacdf0b88e9
|
7
|
+
data.tar.gz: 437e5dbcd65874b2365670ad53aa0736a7b9b95ac93f8d5cb8e4715fe2e5f300ddccf4ee90dabda0dbe83e4e89b9beb584b29407e032a2dba5a4f036acae5f3a
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class PetalSubscription < LogicalModel
|
2
|
+
|
3
|
+
use_hydra Accounts::HYDRA
|
4
|
+
set_resource_host Accounts::HOST
|
5
|
+
set_resource_path "/v0/petal_subscriptions"
|
6
|
+
|
7
|
+
attribute :id
|
8
|
+
attribute :account_name
|
9
|
+
attribute :petal_name
|
10
|
+
|
11
|
+
set_api_key 'token', Accounts::API_KEY
|
12
|
+
|
13
|
+
TIMEOUT = 5500 # milisecons
|
14
|
+
PER_PAGE = 9999
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: accounts_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dwayne Macgowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- app/helpers/encoding_helper.rb
|
63
63
|
- app/models/padma_account.rb
|
64
64
|
- app/models/padma_user.rb
|
65
|
+
- app/models/petal_subscription.rb
|
65
66
|
- config/initializers/accounts_client.rb
|
66
67
|
- lib/accounts/belongs_to_account.rb
|
67
68
|
- lib/accounts/belongs_to_user.rb
|