Class: Account
- Inherits:
-
Object
- Object
- Account
- Defined in:
- lib/quota_service/account_balance_response.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#credits ⇒ Object
Returns the value of attribute credits.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account, credits) ⇒ Account
constructor
A new instance of Account.
- #to_s ⇒ Object
Constructor Details
#initialize(account, credits) ⇒ Account
Returns a new instance of Account.
35 36 37 38 |
# File 'lib/quota_service/account_balance_response.rb', line 35 def initialize(account, credits) @account = account @credits = credits end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
33 34 35 |
# File 'lib/quota_service/account_balance_response.rb', line 33 def account @account end |
#credits ⇒ Object
Returns the value of attribute credits.
33 34 35 |
# File 'lib/quota_service/account_balance_response.rb', line 33 def credits @credits end |
Class Method Details
Instance Method Details
#to_s ⇒ Object
46 47 48 |
# File 'lib/quota_service/account_balance_response.rb', line 46 def to_s self.inspect end |