Method: HTTP#page_size

Defined in:
lib/inari/commands/http.rb

#page_size(response = nil) ⇒ Object

HTTP commands



5
6
7
8
# File 'lib/inari/commands/http.rb', line 5

def page_size(response = nil)
  response = last_response if response.nil?
  response.body.size rescue 0
end