Class: SDM::AccountCreateResponse
- Inherits:
-
Object
- Object
- SDM::AccountCreateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
AccountCreateResponse reports how the Accounts were created in the system.
Instance Attribute Summary collapse
-
#account ⇒ Object
The created Account.
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#token ⇒ Object
The auth token generated for the Account.
Instance Method Summary collapse
-
#initialize(meta: nil, account: nil, token: nil, rate_limit: nil) ⇒ AccountCreateResponse
constructor
A new instance of AccountCreateResponse.
Constructor Details
#initialize(meta: nil, account: nil, token: nil, rate_limit: nil) ⇒ AccountCreateResponse
Returns a new instance of AccountCreateResponse.
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/models/porcelain.rb', line 313 def initialize( meta:nil \ , account:nil \ , token:nil \ , rate_limit:nil \ ) if != nil @meta = end if account != nil @account = account end if token != nil @token = token end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#account ⇒ Object
The created Account.
307 308 309 |
# File 'lib/models/porcelain.rb', line 307 def account @account end |
#meta ⇒ Object
Reserved for future use.
305 306 307 |
# File 'lib/models/porcelain.rb', line 305 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
312 313 314 |
# File 'lib/models/porcelain.rb', line 312 def rate_limit @rate_limit end |
#token ⇒ Object
The auth token generated for the Account. The Account will use this token to authenticate with the strongDM API.
310 311 312 |
# File 'lib/models/porcelain.rb', line 310 def token @token end |