Class: Airtable::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/airtable/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(api_key) ⇒ Client

Returns a new instance of Client.



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

def initialize(api_key)
  @api_key = api_key
end

Instance Method Details

#table(app_token, worksheet_name) ⇒ Object

table(“appXXV84QuCy2BPgLk”, “Sheet Name”)



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

def table(app_token, worksheet_name)
  Table.new(@api_key, app_token, worksheet_name)
end