Class: Addressable::URI

Inherits:
Object show all
Defined in:
lib/resourceful/net_http_adapter.rb

Instance Method Summary collapse

Instance Method Details

#absolute_pathObject



10
11
12
13
14
15
16
# File 'lib/resourceful/net_http_adapter.rb', line 10

def absolute_path
  absolute_path = ""
  absolute_path << self.path.to_s
  absolute_path << "?#{self.query}" if self.query != nil
  absolute_path << "##{self.fragment}" if self.fragment != nil
  return absolute_path
end