Module: Typeform

Defined in:
lib/typeform.rb,
lib/typeform/form.rb,
lib/typeform/version.rb

Defined Under Namespace

Classes: BadRequest, ClientError, Form, NotFound, ServerError, Typeform, TypeformError, Unauthorized, Unavailable

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.api_key=(api_key) ⇒ Object

Allow Typeform.api_key = “…”



11
12
13
# File 'lib/typeform.rb', line 11

def api_key=(api_key)
  Typeform.api_key = api_key
end

.base_uri=(uri) ⇒ Object

Allow Typeform.base_uri = “…”



16
17
18
# File 'lib/typeform.rb', line 16

def base_uri=(uri)
  Tyepform.base_uri uri
end