Class: Exlibris::Primo::WebService::Client::Base

Inherits:
Object
  • Object
show all
Extended by:
SavonConfig
Includes:
Abstract, Config::Attributes, Endpoint, SavonClient, SoapActions, Wsdl
Defined in:
lib/exlibris/primo/web_service/client/base.rb

Direct Known Subclasses

Eshelf, EshelfStructure, Reviews, Search, Tags

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SoapActions

included, #method_missing, #respond_to?

Methods included from Endpoint

included

Methods included from Config::Attributes

#availability_statuses, #base_url, #config, #facet_collections, #facet_labels, #facet_resource_types, #facet_top_level, #institution, #institutions, #libraries, #sources

Methods included from Abstract

included

Constructor Details

#initialize(*args) ⇒ Base

Returns a new Exlibris::Primo::WebService::Base from the given arguments, base_url and service.

base_url: base URL for Primo Web Service


22
23
24
25
# File 'lib/exlibris/primo/web_service/client/base.rb', line 22

def initialize *args
  super
  @base_url = args.last.delete(:base_url)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Exlibris::Primo::WebService::Client::SoapActions

Instance Attribute Details

#base_url=(value) ⇒ Object (writeonly)

Sets the attribute base_url

Parameters:

  • value

    the value to set the attribute base_url to.



16
17
18
# File 'lib/exlibris/primo/web_service/client/base.rb', line 16

def base_url=(value)
  @base_url = value
end

#institution=(value) ⇒ Object (writeonly)

Sets the attribute institution

Parameters:

  • value

    the value to set the attribute institution to.



16
17
18
# File 'lib/exlibris/primo/web_service/client/base.rb', line 16

def institution=(value)
  @institution = value
end