Class: Exlibris::Primo::WebService::Client::Base
- Inherits:
-
Object
- Object
- Exlibris::Primo::WebService::Client::Base
- Includes:
- Abstract, Config::Attributes, Endpoint, SavonClient, SoapActions, Wsdl
- Defined in:
- lib/exlibris/primo/web_service/client/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
writeonly
Sets the attribute base_url.
-
#institution ⇒ Object
writeonly
Sets the attribute institution.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Base
constructor
Returns a new Exlibris::Primo::WebService::Base from the given arguments, base_url and service.
Methods included from SoapActions
included, #method_missing, #respond_to?
Methods included from Endpoint
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
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
21 22 23 24 |
# File 'lib/exlibris/primo/web_service/client/base.rb', line 21 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
15 16 17 |
# File 'lib/exlibris/primo/web_service/client/base.rb', line 15 def base_url=(value) @base_url = value end |
#institution=(value) ⇒ Object (writeonly)
Sets the attribute institution
15 16 17 |
# File 'lib/exlibris/primo/web_service/client/base.rb', line 15 def institution=(value) @institution = value end |