Class: RailsResponseDumper::DumpBlock

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_response_dumper/dump_block.rb

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



4
5
6
# File 'lib/rails_response_dumper/dump_block.rb', line 4

def block
  @block
end

#expected_status_codesObject

Returns the value of attribute expected_status_codes

Returns:

  • (Object)

    the current value of expected_status_codes



4
5
6
# File 'lib/rails_response_dumper/dump_block.rb', line 4

def expected_status_codes
  @expected_status_codes
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/rails_response_dumper/dump_block.rb', line 4

def name
  @name
end