Class: Skala::PrimoAdapter::SoapApi
- Inherits:
-
Object
- Object
- Skala::PrimoAdapter::SoapApi
- Defined in:
- lib/skala/primo_adapter/soap_api.rb
Defined Under Namespace
Classes: SearchBrief
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
Instance Method Summary collapse
-
#initialize(adapter) ⇒ SoapApi
constructor
A new instance of SoapApi.
- #searchBrief(*args) ⇒ Object
Constructor Details
#initialize(adapter) ⇒ SoapApi
Returns a new instance of SoapApi.
8 9 10 |
# File 'lib/skala/primo_adapter/soap_api.rb', line 8 def initialize(adapter) self.adapter = adapter end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
6 7 8 |
# File 'lib/skala/primo_adapter/soap_api.rb', line 6 def adapter @adapter end |
Instance Method Details
#searchBrief(*args) ⇒ Object
12 13 14 |
# File 'lib/skala/primo_adapter/soap_api.rb', line 12 def searchBrief(*args) self.class::SearchBrief.new(adapter).call(*args) end |