module Alma::ApiDefaults
Public Instance Methods
apikey()
click to toggle source
# File lib/alma/api_defaults.rb, line 5 def apikey Alma.configuration.apikey end
bibs_base_path()
click to toggle source
# File lib/alma/api_defaults.rb, line 19 def bibs_base_path "#{self.region}/almaws/v1/bibs" end
configuration_base_path()
click to toggle source
# File lib/alma/api_defaults.rb, line 31 def configuration_base_path "#{self.region}/almaws/v1/conf" end
headers()
click to toggle source
# File lib/alma/api_defaults.rb, line 13 def headers { "Authorization": "apikey #{self.apikey}", "Accept": "application/json", "Content-Type": "application/json" } end
items_base_path()
click to toggle source
# File lib/alma/api_defaults.rb, line 27 def items_base_path "#{self.region}/almaws/v1/items" end
region()
click to toggle source
# File lib/alma/api_defaults.rb, line 9 def region Alma.configuration.region end
timeout()
click to toggle source
# File lib/alma/api_defaults.rb, line 35 def timeout Alma.configuration.timeout end
users_base_path()
click to toggle source
# File lib/alma/api_defaults.rb, line 23 def users_base_path "#{self.region}/almaws/v1/users" end