class Poisol::Request

Attributes

body[RW]
path[RW]
query[RW]
type[RW]
url[RW]

Public Instance Methods

to_s() click to toggle source
# File lib/poisol/stub/stub_builder.rb, line 22
def to_s
  "#{self.type} #{self.url} #{"Query:#{self.query}" if self.query.present?} #{"\nBody: #{self.body}" if self.body.present?} "
end