Class: UrlRewrite::StatusCode

Inherits:
Struct
  • Object
show all
Defined in:
app/models/url_rewrite.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



4
5
6
# File 'app/models/url_rewrite.rb', line 4

def code
  @code
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



4
5
6
# File 'app/models/url_rewrite.rb', line 4

def label
  @label
end