Class: Legato::Management::AccountSummary
- Inherits:
-
Object
- Object
- Legato::Management::AccountSummary
- Extended by:
- Finder
- Defined in:
- lib/legato/management/account_summary.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#user ⇒ Object
Returns the value of attribute user.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes, user) ⇒ AccountSummary
constructor
A new instance of AccountSummary.
- #path ⇒ Object
- #profiles ⇒ Object
- #web_properties ⇒ Object
Methods included from Finder
Constructor Details
#initialize(attributes, user) ⇒ AccountSummary
Returns a new instance of AccountSummary.
16 17 18 19 20 |
# File 'lib/legato/management/account_summary.rb', line 16 def initialize(attributes, user) self.user = user @account = Account.build_from_summary(attributes, user) end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
14 15 16 |
# File 'lib/legato/management/account_summary.rb', line 14 def account @account end |
#user ⇒ Object
Returns the value of attribute user.
14 15 16 |
# File 'lib/legato/management/account_summary.rb', line 14 def user @user end |
Class Method Details
.default_path ⇒ Object
6 7 8 |
# File 'lib/legato/management/account_summary.rb', line 6 def self.default_path "/accountSummaries" end |
Instance Method Details
#path ⇒ Object
10 11 12 |
# File 'lib/legato/management/account_summary.rb', line 10 def path "" end |
#profiles ⇒ Object
26 27 28 |
# File 'lib/legato/management/account_summary.rb', line 26 def profiles @account.profiles end |
#web_properties ⇒ Object
22 23 24 |
# File 'lib/legato/management/account_summary.rb', line 22 def web_properties @account.web_properties end |