Class: ApiClient
- Inherits:
-
Object
- Object
- ApiClient
- Includes:
- ActAsApiClient::BaseApiMethods
- Defined in:
- lib/act_as_api_client.rb
Class Method Summary collapse
Methods included from ActAsApiClient::BaseApiMethods
#create, #delete, #find, #find_by, #update, #where
Class Method Details
.act_as_api_client(**args) ⇒ Object
10 11 12 13 |
# File 'lib/act_as_api_client.rb', line 10 def act_as_api_client(**args) set_general_client(client_for: args.fetch(:for, nil)) (options: args.fetch(:with, {})) end |