Class: Teamlab::Portal

Inherits:
Object
  • Object
show all
Defined in:
lib/teamlab/modules/portals.rb

Instance Method Summary collapse

Constructor Details

#initializePortal

Returns a new instance of Portal.



3
4
5
# File 'lib/teamlab/modules/portals.rb', line 3

def initialize
  @request = Teamlab::Request.new('portal')
end

Instance Method Details

#invite_user_urlObject



7
8
9
# File 'lib/teamlab/modules/portals.rb', line 7

def invite_user_url
  @request.get(%w(users invite user))
end

#invite_visitor_urlObject



11
12
13
# File 'lib/teamlab/modules/portals.rb', line 11

def invite_visitor_url
  @request.get(%w(users invite visitor))
end