aptible-api 0.8.1 → 0.8.2

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: 5dbd618a810a31ff1b386ddf70ff2eb6239cacd8
4
- data.tar.gz: 28e5d6c9d38cafc34239ec23d19f1259d29525d2
3
+ metadata.gz: 8b45400a619792741e7f0fba65ef654dae9ff2d0
4
+ data.tar.gz: 5f1ad1b57cbfaa0313bf572bdb003e3215c2a87d
5
5
  SHA512:
6
- metadata.gz: 7ba8701cbda1a15e308aca1441637c48752a2073b50429d1ca171ac010ab7e73e85cee4abd41f012e9f6b0607208558b828a2d8ec9acf217128f91f8a7781180
7
- data.tar.gz: e042d569b2168caa53a8046930a1c1bac42eea7a9ff36aee44ce5ba2499fef94f24c298a2a21f1c7058d8e90501d89eddeb53ea620b2335cd2bdedf55b480122
6
+ metadata.gz: 22b97ddd0fbb74196122d209b550a5818d83f5dc7fcdef946de683f4ca1f455503e750f77a90bfe90adf584ba137632b055f8c2322f66e850282e2c93687795c
7
+ data.tar.gz: 64b971dd6f21f60ed769842810ba90044368a12b4af08cee245c2ddc602a843067a7763e628ebcebe98304f1d0b5caccbabfc0d802f38ca26f98153fe3da2bed
data/README.md CHANGED
@@ -25,10 +25,10 @@ token = Aptible::Auth::Token.create(email: 'user0@example.com', password: 'passw
25
25
  From here, you can interact with the API however you wish:
26
26
 
27
27
  ```ruby
28
- api = Aptible::Api.new(token: token)
29
- account = api.accounts.first
30
- account.apps.count
31
- # => 4
28
+ accounts = Aptible::Api::Account.all(token: token)
29
+ account = accounts.first
30
+ account.handle
31
+ # => 'aptible'
32
32
  account.apps.first.handle
33
33
  # => "foodle"
34
34
  newapp = account.create_app(handle: 'bardle')
@@ -5,6 +5,7 @@ module Aptible
5
5
  module Api
6
6
  class Account < Resource
7
7
  has_many :apps
8
+ has_many :certificates
8
9
  has_many :databases
9
10
  has_many :disks
10
11
  has_many :services
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '0.8.1'
3
+ VERSION = '0.8.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-18 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-resource
@@ -237,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  version: '0'
238
238
  requirements: []
239
239
  rubyforge_project:
240
- rubygems_version: 2.4.5
240
+ rubygems_version: 2.2.2
241
241
  signing_key:
242
242
  specification_version: 4
243
243
  summary: Ruby client for api.aptible.com