Class: NLBSG::GetTitleDetailsRequest
- Inherits:
-
RequestBase
- Object
- RequestBase
- NLBSG::GetTitleDetailsRequest
- Defined in:
- lib/nlbsg/request/get_title_details.rb
Constant Summary collapse
- REQUIRED_REQUEST_FIELDS =
[ :BID, :ISBN ]
Instance Attribute Summary
Attributes inherited from RequestBase
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(hash) ⇒ GetTitleDetailsRequest
constructor
A new instance of GetTitleDetailsRequest.
Constructor Details
#initialize(hash) ⇒ GetTitleDetailsRequest
Returns a new instance of GetTitleDetailsRequest.
9 10 11 12 13 |
# File 'lib/nlbsg/request/get_title_details.rb', line 9 def initialize(hash) raise ArgumentError unless hash.is_a?(Hash) @options = hash end |
Instance Method Details
#build ⇒ Object
15 16 17 |
# File 'lib/nlbsg/request/get_title_details.rb', line 15 def build super(prepare_query) end |