Class: PostProxy::ProfileGroup
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#profiles_count ⇒ Object
Returns the value of attribute profiles_count.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ ProfileGroup
constructor
A new instance of ProfileGroup.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ ProfileGroup
Returns a new instance of ProfileGroup.
42 43 44 45 |
# File 'lib/postproxy/types.rb', line 42 def initialize(**attrs) @profiles_count = 0 super end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
40 41 42 |
# File 'lib/postproxy/types.rb', line 40 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
40 41 42 |
# File 'lib/postproxy/types.rb', line 40 def name @name end |
#profiles_count ⇒ Object
Returns the value of attribute profiles_count.
40 41 42 |
# File 'lib/postproxy/types.rb', line 40 def profiles_count @profiles_count end |