Module: Jekyll::Airtable

Extended by:
Configuration
Defined in:
lib/jekyll-airtable.rb,
lib/jekyll-airtable/api.rb,
lib/jekyll-airtable/client.rb,
lib/jekyll-airtable/version.rb,
lib/jekyll-airtable/configuration.rb

Defined Under Namespace

Modules: Configuration Classes: API, Client

Constant Summary collapse

VERSION =
"0.4.1"

Constants included from Configuration

Configuration::API_URL, Configuration::API_VERSION, Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

configure, extended, options, reset

Class Method Details

.client(options = {}) ⇒ Object



10
11
12
# File 'lib/jekyll-airtable.rb', line 10

def self.client(options = {})
  Jekyll::Airtable::Client.new(options)
end

.method_missing(method, *args, &block) ⇒ Object

Delegate to Airtable::Client



15
16
17
18
# File 'lib/jekyll-airtable.rb', line 15

def self.method_missing(method, *args, &block)
  return super unless client.respond_to?(method)
  client.send(method, *args, &block)
end

.respond_to?(method, include_all = false) ⇒ Boolean

Delegate to Airtable::Client

Returns:

  • (Boolean)


21
22
23
# File 'lib/jekyll-airtable.rb', line 21

def self.respond_to?(method, include_all=false)
  return client.respond_to?(method, include_all) || super
end