Class: Rublox::Models::FullGroup

Inherits:
Object
  • Object
show all
Includes:
Derive::Group
Defined in:
lib/rublox/models/full_group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Derive::Group

#accept_join_request, #decline_join_request, #kick, #update_shout

Instance Attribute Details

#descriptionString (readonly)

Returns:

  • (String)


17
18
19
# File 'lib/rublox/models/full_group.rb', line 17

def description
  @description
end

#has_verified_badgeBoolean (readonly)

Returns:

  • (Boolean)


31
32
33
# File 'lib/rublox/models/full_group.rb', line 31

def has_verified_badge
  @has_verified_badge
end

#idInteger (readonly)

Returns:

  • (Integer)


13
14
15
# File 'lib/rublox/models/full_group.rb', line 13

def id
  @id
end

#is_builders_club_onlyBoolean (readonly)

Returns:

  • (Boolean)


25
26
27
# File 'lib/rublox/models/full_group.rb', line 25

def is_builders_club_only
  @is_builders_club_only
end

#is_lockedBoolean (readonly)

Returns:

  • (Boolean)


29
30
31
# File 'lib/rublox/models/full_group.rb', line 29

def is_locked
  @is_locked
end

#member_countInteger (readonly)

Returns:

  • (Integer)


23
24
25
# File 'lib/rublox/models/full_group.rb', line 23

def member_count
  @member_count
end

#nameString (readonly)

Returns:

  • (String)


15
16
17
# File 'lib/rublox/models/full_group.rb', line 15

def name
  @name
end

#ownerSkinnyUser? (readonly)

Returns:



19
20
21
# File 'lib/rublox/models/full_group.rb', line 19

def owner
  @owner
end

#public_entry_allowedBoolean (readonly)

Returns:

  • (Boolean)


27
28
29
# File 'lib/rublox/models/full_group.rb', line 27

def public_entry_allowed
  @public_entry_allowed
end

#shoutGroupShout? (readonly)

Returns:



21
22
23
# File 'lib/rublox/models/full_group.rb', line 21

def shout
  @shout
end

Instance Method Details

#update_shout!(message) ⇒ nil

Updates the group shout and sets #shout to the new group shout

Returns:

  • (nil)


51
52
53
# File 'lib/rublox/models/full_group.rb', line 51

def update_shout!(message)
	@shout = update_shout(message)
end