Module: Integra365
- Extended by:
- WrAPI::Configuration, WrAPI::RespondTo
- Defined in:
- lib/integra365.rb,
lib/integra365/api.rb,
lib/integra365/const.rb,
lib/integra365/error.rb,
lib/integra365/client.rb,
lib/integra365/version.rb,
lib/integra365/authentication.rb,
lib/integra365/client/tenants.rb,
lib/integra365/client/backup_jobs.rb,
lib/integra365/client/backup_job_reporting.rb
Defined Under Namespace
Modules: Authentication Classes: API, AuthenticationError, BackupJobStatus, Client, ConfigurationError, Enum, Integra365Error, SessionListTypes
Constant Summary collapse
- DEFAULT_ENDPOINT =
'https://api.integra-bcs.nl/Api/V1/'
- DEFAULT_UA =
"Integra365 Ruby API wrapper #{Integra365::VERSION}"
- VERSION =
'0.4.0'
Class Method Summary collapse
-
.client(options = {}) ⇒ Integra365::Client
Alias for Integra365::Client.new.
- .reset ⇒ Object
Class Method Details
.client(options = {}) ⇒ Integra365::Client
Alias for Integra365::Client.new
18 19 20 21 22 23 |
# File 'lib/integra365.rb', line 18 def self.client( = {}) Integra365::Client.new({ endpoint: DEFAULT_ENDPOINT, user_agent: DEFAULT_UA }.merge()) end |
.reset ⇒ Object
25 26 27 28 29 |
# File 'lib/integra365.rb', line 25 def self.reset super self.endpoint = DEFAULT_ENDPOINT self.user_agent = DEFAULT_UA end |