Class: Teamlab::Portal
- Inherits:
-
Object
- Object
- Teamlab::Portal
- Defined in:
- lib/teamlab/modules/portals.rb
Instance Method Summary collapse
-
#delete_portal ⇒ Object
Deletes the current portal immediately WARNING: Do not test this method in specs in this project.
-
#initialize(config = nil) ⇒ Portal
constructor
A new instance of Portal.
- #invite_user_url ⇒ Object
- #invite_visitor_url ⇒ Object
Constructor Details
Instance Method Details
#delete_portal ⇒ Object
Deletes the current portal immediately WARNING: Do not test this method in specs in this project
19 20 21 |
# File 'lib/teamlab/modules/portals.rb', line 19 def delete_portal @request.delete(%w[deleteportalimmediately]) end |
#invite_user_url ⇒ Object
9 10 11 |
# File 'lib/teamlab/modules/portals.rb', line 9 def invite_user_url @request.get(%w[users invite user]) end |
#invite_visitor_url ⇒ Object
13 14 15 |
# File 'lib/teamlab/modules/portals.rb', line 13 def invite_visitor_url @request.get(%w[users invite visitor]) end |