Class: Hisui::Management::AccountSummary
- Defined in:
- lib/hisui/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 inherited from Base
Constructor Details
#initialize(attributes, user) ⇒ AccountSummary
Returns a new instance of AccountSummary.
6 7 8 9 |
# File 'lib/hisui/management/account_summary.rb', line 6 def initialize(attributes, user) @account = Account.build_from_summary(attributes, user) @user = user end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
4 5 6 |
# File 'lib/hisui/management/account_summary.rb', line 4 def account @account end |
#user ⇒ Object
Returns the value of attribute user.
4 5 6 |
# File 'lib/hisui/management/account_summary.rb', line 4 def user @user end |
Class Method Details
.default_path ⇒ Object
11 12 13 |
# File 'lib/hisui/management/account_summary.rb', line 11 def self.default_path '/accountSummaries' end |
Instance Method Details
#path ⇒ Object
15 16 17 |
# File 'lib/hisui/management/account_summary.rb', line 15 def path '' end |
#profiles ⇒ Object
19 20 21 |
# File 'lib/hisui/management/account_summary.rb', line 19 def profiles account.profiles end |
#web_properties ⇒ Object
23 24 25 |
# File 'lib/hisui/management/account_summary.rb', line 23 def web_properties account.web_properties end |