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 +4 -4
- data/README.md +4 -4
- data/lib/aptible/api/account.rb +1 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b45400a619792741e7f0fba65ef654dae9ff2d0
|
4
|
+
data.tar.gz: 5f1ad1b57cbfaa0313bf572bdb003e3215c2a87d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
29
|
-
account =
|
30
|
-
account.
|
31
|
-
# =>
|
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')
|
data/lib/aptible/api/account.rb
CHANGED
data/lib/aptible/api/version.rb
CHANGED
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.
|
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-
|
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.
|
240
|
+
rubygems_version: 2.2.2
|
241
241
|
signing_key:
|
242
242
|
specification_version: 4
|
243
243
|
summary: Ruby client for api.aptible.com
|