Module: TsJsonApi

Defined in:
lib/ts_json_api.rb,
lib/ts_json_api/version.rb,
lib/ts_json_api/configure.rb,
lib/ts_json_api/requestor.rb,
lib/ts_json_api/exceptions.rb,
lib/ts_json_api/requestor/races.rb,
lib/ts_json_api/requestor/points.rb,
lib/ts_json_api/requestor/series.rb,
lib/ts_json_api/requestor/tracks.rb,
lib/ts_json_api/requestor/drivers.rb,
lib/ts_json_api/requestor/logging.rb,
lib/ts_json_api/requestor/weekend.rb,
lib/ts_json_api/requestor/schedule.rb,
lib/ts_json_api/requestor/live_feed.rb,
lib/ts_json_api/requestor/private_methods.rb,
lib/ts_json_api/requestor/utility_methods.rb,
lib/generators/ts_json_api/install/install_generator.rb

Defined Under Namespace

Classes: AccessTokenRefused, ApiLimitExceededException, Configure, Exception, InstallGenerator, Requestor, ResourceNotFound, ServerBrokeConnection

Constant Summary collapse

VERSION =
"0.2.4"

Class Method Summary collapse

Class Method Details

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



18
19
20
21
22
23
24
# File 'lib/ts_json_api.rb', line 18

def method_missing(method, *args, &block)
	if Requestor.respond_to?(method)
		Requestor.send method, *args
	else
		super
	end
end

.respond_to?(method) ⇒ Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/ts_json_api.rb', line 26

def respond_to?(method)
	Requestor.respond_to? method
end