class Inspec::Object::PostBody
Attributes
post_body[RW]
Public Class Methods
new(post_body)
click to toggle source
# File lib/inspec/objects/post_body.rb, line 7 def initialize(post_body) @post_body = post_body end
Public Instance Methods
to_hash()
click to toggle source
# File lib/inspec/objects/post_body.rb, line 11 def to_hash { post_body: post_body, } end
to_ruby()
click to toggle source
# File lib/inspec/objects/post_body.rb, line 17 def to_ruby post_body.inspect.to_s end
to_s()
click to toggle source
# File lib/inspec/objects/post_body.rb, line 21 def to_s "Post Body #{post_body}" end