accounts_client 0.2.18 → 0.2.19

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37d1342d26b89378cfccb4bba583ec3376310adf
4
- data.tar.gz: e25a4b0d2a9a3ba23361ccfd26aa4ee21910f165
3
+ metadata.gz: c512161b4a4818aed8d61437f05ed2890ddc6899
4
+ data.tar.gz: 29f29bdd2bc9ab5666a38f64cdb0205c6bab178d
5
5
  SHA512:
6
- metadata.gz: 83d2530920a9361d01ce9f377b7d025e69e2e695967f4b448cd056d3452144c0ec422f2dc1232ed013f4a97a50b73a644ec46788860e58b49f9c259fc11a6f74
7
- data.tar.gz: ff4e99a131cf81df794c8aa4fc97c151a11d51891e8d36bfd9c1f3d25052fc6d5097745d6950d1b882d45bbddad3cde0e1cf404abcf79ed9845c06d67de9185c
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.18
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-14 00:00:00.000000000 Z
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