Class: PostProxy::ProfileGroup

Inherits:
Model
  • Object
show all
Defined in:
lib/postproxy/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

#to_h

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

#idObject

Returns the value of attribute id.



40
41
42
# File 'lib/postproxy/types.rb', line 40

def id
  @id
end

#nameObject

Returns the value of attribute name.



40
41
42
# File 'lib/postproxy/types.rb', line 40

def name
  @name
end

#profiles_countObject

Returns the value of attribute profiles_count.



40
41
42
# File 'lib/postproxy/types.rb', line 40

def profiles_count
  @profiles_count
end