Class: SDM::AccountGetResponse
- Inherits:
-
Object
- Object
- SDM::AccountGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
AccountGetResponse returns a requested Account.
Instance Attribute Summary collapse
-
#account ⇒ Object
The requested Account.
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(meta: nil, account: nil, rate_limit: nil) ⇒ AccountGetResponse
constructor
A new instance of AccountGetResponse.
Constructor Details
#initialize(meta: nil, account: nil, rate_limit: nil) ⇒ AccountGetResponse
Returns a new instance of AccountGetResponse.
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 |
# File 'lib/models/porcelain.rb', line 344 def initialize( meta:nil \ , account:nil \ , rate_limit:nil \ ) if != nil @meta = end if account != nil @account = account end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#account ⇒ Object
The requested Account.
341 342 343 |
# File 'lib/models/porcelain.rb', line 341 def account @account end |
#meta ⇒ Object
Reserved for future use.
339 340 341 |
# File 'lib/models/porcelain.rb', line 339 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
343 344 345 |
# File 'lib/models/porcelain.rb', line 343 def rate_limit @rate_limit end |