Class: RemoveBg::AccountInfo::CreditsInfo
- Inherits:
-
Object
- Object
- RemoveBg::AccountInfo::CreditsInfo
- Defined in:
- lib/remove_bg/account_info.rb
Instance Attribute Summary collapse
-
#enterprise ⇒ Object
readonly
Returns the value of attribute enterprise.
-
#payg ⇒ Object
readonly
Returns the value of attribute payg.
-
#subscription ⇒ Object
readonly
Returns the value of attribute subscription.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(total:, subscription:, payg:, enterprise:) ⇒ CreditsInfo
constructor
A new instance of CreditsInfo.
Constructor Details
#initialize(total:, subscription:, payg:, enterprise:) ⇒ CreditsInfo
Returns a new instance of CreditsInfo.
28 29 30 31 32 33 |
# File 'lib/remove_bg/account_info.rb', line 28 def initialize(total:, subscription:, payg:, enterprise:) @total = total @subscription = subscription @payg = payg @enterprise = enterprise end |
Instance Attribute Details
#enterprise ⇒ Object (readonly)
Returns the value of attribute enterprise.
26 27 28 |
# File 'lib/remove_bg/account_info.rb', line 26 def enterprise @enterprise end |
#payg ⇒ Object (readonly)
Returns the value of attribute payg.
26 27 28 |
# File 'lib/remove_bg/account_info.rb', line 26 def payg @payg end |
#subscription ⇒ Object (readonly)
Returns the value of attribute subscription.
26 27 28 |
# File 'lib/remove_bg/account_info.rb', line 26 def subscription @subscription end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
26 27 28 |
# File 'lib/remove_bg/account_info.rb', line 26 def total @total end |