Module: Resas::Api
- Includes:
- Nard::Appi::Base
- Defined in:
- lib/resas/api/_base.rb,
lib/resas/api/client.rb,
lib/resas/api/version.rb,
lib/resas/api/response/body.rb,
lib/resas/api/client_ext/request.rb,
lib/resas/api/response/forbidden.rb,
lib/resas/api/response/not_found.rb,
lib/resas/api/response/base_error.rb,
lib/resas/api/client_ext/endpoints.rb,
lib/resas/api/response/bad_request.rb,
lib/resas/api/client_ext/connection.rb,
lib/resas/api/response/validation_error.rb,
lib/resas/api/response/too_many_requests.rb,
lib/resas/api/client/util/base_normalizer.rb,
lib/resas/api/api_ext/default_configuration.rb,
lib/resas/api/client/util/path_settings_normalizer.rb,
lib/resas/api/client/util/request_settings_normalizer.rb
Overview
RESAS API を扱うための Gem - トップの名前空間
Defined Under Namespace
Modules: ApiExt, ClientExt, Response Classes: Client
Constant Summary collapse
- VERSION =
この Gem のバージョン
'0.3.5'.freeze
Class Method Summary collapse
-
.client(options = {}) ⇒ Resas::Api::Client
クライアントのオブジェクトを返すメソッド.
- .method_missing(method, *args, &block) ⇒ Object
- .respond_to?(method, include_all = false) ⇒ Boolean
Class Method Details
.client(options = {}) ⇒ Resas::Api::Client
クライアントのオブジェクトを返すメソッド
22 23 24 |
# File 'lib/resas/api/_base.rb', line 22 def self.client( = {} ) super( ) end |
.method_missing(method, *args, &block) ⇒ Object
26 27 28 29 |
# File 'lib/resas/api/_base.rb', line 26 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
31 32 33 |
# File 'lib/resas/api/_base.rb', line 31 def self.respond_to?( method, include_all = false ) return client.respond_to?( method, include_all ) || super end |