Sha256: 5312892261188dd6c777d93ed10c15f0e1ec6b00b954de8bf3c0749120c5e952
Contents?: true
Size: 1.61 KB
Versions: 1
Compression:
Stored size: 1.61 KB
Contents
# frozen_string_literal: true require 'provet/base' require 'provet/appointment' require 'provet/availability' require 'provet/client' require 'provet/consultation_discharge_instruction' require 'provet/consultation_item_template' require 'provet/consultation_item' require 'provet/consultation' require 'provet/department' require 'provet/invoice_row' require 'provet/invoice' require 'provet/item_list' require 'provet/item_template_item' require 'provet/item_template' require 'provet/item' require 'provet/laboratory_analysis_group' require 'provet/patient' require 'provet/phone_number' require 'provet/reason_group' require 'provet/reason' require 'provet/reminder_template' require 'provet/reminder' require 'provet/shift_type' require 'provet/shift' require 'provet/user_details' require 'provet/user_group' require 'provet/user' require 'provet/vat_group' module Provet class Error < StandardError; end class MethodNotAllowedError < Error; end @@host = 'https://us.provetcloud.com' @@instance = nil @@api_version = '0.1' @@token = nil def self.host @@host end def self.host=(value) @@host = value set_base_uri end def self.instance @@instance end def self.instance=(value) @@instance = value set_base_uri end def self.api_version @@api_version end def self.api_version=(value) @@api_version = value set_base_uri end def self.token @@token end def self.token=(value) @@token = value end def self.set_base_uri Provet::Base.base_uri("#{host}/#{instance}/api/#{api_version}") end def self.root File.dirname __dir__ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
provet-client-0.1.0 | lib/provet.rb |