class Lita::GoogleOrganisationUnit

A google OrganisationUnit, contains zero or more users

Attributes

name[R]
path[R]

Public Class Methods

from_api(item) click to toggle source
# File lib/lita/google_organisation_unit.rb, line 6
def self.from_api(item)
  GoogleOrganisationUnit.new(
    name: item.name, path: item.org_unit_path
  )
end
new(name:, path:) click to toggle source
# File lib/lita/google_organisation_unit.rb, line 12
def initialize(name:, path:)
  @name, @path = name, path
end