cfoundry 0.3.13 → 0.3.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,8 +46,8 @@ module CFoundry::V2
46
46
  end
47
47
 
48
48
 
49
- [ :app, :organization, :space, :user, :runtime, :framework,
50
- :service, :service_plan, :service_binding, :service_instance
49
+ [ :app, :organization, :space, :user, :runtime, :framework, :service,
50
+ :service_plan, :service_binding, :service_instance, :service_auth_token
51
51
  ].each do |obj|
52
52
  plural = "#{obj}s"
53
53
 
@@ -10,6 +10,7 @@ require "cfoundry/v2/service"
10
10
  require "cfoundry/v2/service_binding"
11
11
  require "cfoundry/v2/service_instance"
12
12
  require "cfoundry/v2/service_plan"
13
+ require "cfoundry/v2/service_auth_token"
13
14
  require "cfoundry/v2/space"
14
15
  require "cfoundry/v2/user"
15
16
 
@@ -119,8 +120,8 @@ module CFoundry::V2
119
120
  end
120
121
 
121
122
 
122
- [ :app, :organization, :space, :user, :runtime, :framework,
123
- :service, :service_plan, :service_binding, :service_instance
123
+ [ :app, :organization, :space, :user, :runtime, :framework, :service,
124
+ :service_plan, :service_binding, :service_instance, :service_auth_token
124
125
  ].each do |singular|
125
126
  plural = :"#{singular}s"
126
127
 
@@ -0,0 +1,9 @@
1
+ require "cfoundry/v2/model"
2
+
3
+ module CFoundry::V2
4
+ class ServiceAuthToken < Model
5
+ attribute :label
6
+ attribute :provider
7
+ attribute :token
8
+ end
9
+ end
@@ -1,4 +1,4 @@
1
1
  module CFoundry # :nodoc:
2
2
  # CFoundry library version number.
3
- VERSION = "0.3.13"
3
+ VERSION = "0.3.14"
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfoundry
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 13
10
- version: 0.3.13
9
+ - 14
10
+ version: 0.3.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Suraci
@@ -127,6 +127,7 @@ files:
127
127
  - lib/cfoundry/v2/organization.rb
128
128
  - lib/cfoundry/v2/runtime.rb
129
129
  - lib/cfoundry/v2/service.rb
130
+ - lib/cfoundry/v2/service_auth_token.rb
130
131
  - lib/cfoundry/v2/service_binding.rb
131
132
  - lib/cfoundry/v2/service_instance.rb
132
133
  - lib/cfoundry/v2/service_plan.rb