Exception: URITemplate::RFC6570::InvalidValue

Inherits:
StandardError
  • Object
show all
Includes:
InvalidValue
Defined in:
lib/uri_template/rfc6570.rb

Direct Known Subclasses

LengthLimitInapplicable

Defined Under Namespace

Classes: LengthLimitInapplicable

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (InvalidValue) initialize(variable, value)

A new instance of InvalidValue



153
154
155
156
157
# File 'lib/uri_template/rfc6570.rb', line 153

def initialize(variable, value)
  @variable = variable
  @value = value
  super(generate_message())
end

Instance Attribute Details

- (Object) value (readonly)

Returns the value of attribute value



151
152
153
# File 'lib/uri_template/rfc6570.rb', line 151

def value
  @value
end

- (Object) variable (readonly)

Returns the value of attribute variable



151
152
153
# File 'lib/uri_template/rfc6570.rb', line 151

def variable
  @variable
end