class NLBSG::GetAvailabilityInfoResponse
Public Class Methods
new(response)
click to toggle source
Calls superclass method
NLBSG::ResponseBase::new
# File lib/nlbsg/response/get_availability_info.rb, line 4 def initialize(response) super(response.to_hash[:get_availability_info_response]) end
Public Instance Methods
fetch_next_records()
click to toggle source
# File lib/nlbsg/response/get_availability_info.rb, line 20 def fetch_next_records p "TODO" end
items()
click to toggle source
# File lib/nlbsg/response/get_availability_info.rb, line 16 def items wrap_in_array(@response.dig(:items, :item)) end
next_record_position()
click to toggle source
# File lib/nlbsg/response/get_availability_info.rb, line 8 def next_record_position @response[:next_record_position] end
set_id()
click to toggle source
# File lib/nlbsg/response/get_availability_info.rb, line 12 def set_id @response[:set_id] end