Module: MarbleApiClient

Defined in:
lib/marble_api_client.rb,
lib/marble_api_client/client.rb,
lib/marble_api_client/version.rb,
lib/marble_api_client/responses.rb,
lib/marble_api_client/requests/index.rb,
lib/marble_api_client/responses/list.rb,
lib/marble_api_client/requests/create.rb,
lib/marble_api_client/responses/record.rb,
lib/marble_api_client/responses/success.rb,
lib/marble_api_client/responses/forbidden.rb,
lib/marble_api_client/responses/not_found.rb,
lib/marble_api_client/responses/bad_request.rb,
lib/marble_api_client/responses/client_error.rb,
lib/marble_api_client/responses/http_methods.rb,
lib/marble_api_client/responses/server_error.rb,
lib/marble_api_client/responses/unauthorized.rb,
lib/marble_api_client/responses/body_attributes.rb,
lib/marble_api_client/responses/not_implemented.rb,
lib/marble_api_client/responses/unprocessable_entity.rb

Overview

Copyright © 2019-present, Blue Marble Payroll, LLC

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Defined Under Namespace

Modules: Requests, Responses Classes: Client

Constant Summary collapse

VERSION =
'1.1.0'

Class Method Summary collapse

Class Method Details

.client(base_url, headers: {}) ⇒ Object



20
21
22
# File 'lib/marble_api_client.rb', line 20

def client(base_url, headers: {})
  Client.new(base_url, headers)
end