Class: SDM::AccountGetResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Overview

AccountGetResponse returns a requested Account.

Instance Attribute Summary collapse

Instance Method Summary collapse

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 meta != nil
		@meta = meta
	end
	if  != nil
		@account = 
	end
	if rate_limit != nil
		@rate_limit = rate_limit
	end
end

Instance Attribute Details

#accountObject

The requested Account.



341
342
343
# File 'lib/models/porcelain.rb', line 341

def 
  @account
end

#metaObject

Reserved for future use.



339
340
341
# File 'lib/models/porcelain.rb', line 339

def meta
  @meta
end

#rate_limitObject

Rate limit information.



343
344
345
# File 'lib/models/porcelain.rb', line 343

def rate_limit
  @rate_limit
end