Class: Typeform::Api::Workspace

Inherits:
Client
  • Object
show all
Defined in:
lib/typeform/api/workspace.rb

Overview

users

Class Method Summary collapse

Methods inherited from Client

#connection, connection, connection=, parse

Class Method Details

.retrieve_workspaces(page_size: 200) ⇒ Object

retrieve forms



9
10
11
# File 'lib/typeform/api/workspace.rb', line 9

def retrieve_workspaces(page_size: 200)
  parse(JSON.parse(connection.get("workspaces?page_size=#{page_size}").body))
end