1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Group is a Data class, whose members the inline parser cannot read
# (see sig/pro_tacts/contact.rbs). It is marked `@rbs skip` in group.rb
# and signed here instead; the methods reopened onto it carry their
# own inline types.
module ProTacts
  class Group
    attr_reader id: String
    attr_reader name: String?
    attr_reader label: String
    attr_reader lines: Array[String]
    attr_reader members: Array[String]
    attr_reader photo: bool

    def self.new: (id: String, name: String?, label: String, lines: Array[String], members: Array[String], ?photo: bool) -> instance
  end
end