Skip to content

Instantly share code, notes, and snippets.

@ConradIrwin
Created November 4, 2012 00:15
Show Gist options
  • Save ConradIrwin/9428dce3034d9034b8ff to your computer and use it in GitHub Desktop.
Save ConradIrwin/9428dce3034d9034b8ff to your computer and use it in GitHub Desktop.
[4] pry(main)> ls r
Net::HTTPHeader#methods: [] []= add_field basic_auth canonical_each chunked? connection_close? connection_keep_alive? content_length content_length= content_range content_type content_type= delete each each_capitalized each_capitalized_name each_header each_key each_name each_value fetch form_data= get_fields initialize_http_header key? length main_type proxy_basic_auth range range= range_length set_content_type set_form set_form_data set_range size sub_type to_hash type_params
Net::HTTPResponse#methods: body body= code code_type entity error! error_type header http_version inspect message msg read_body read_header reading_body response value
instance variables: @body @body_exist @code @header @http_version @message @read @socket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment