Class: ThreeScaleToolbox::CRD::ProductDeploymentParser::GatewayResponseParser

Inherits:
Object
  • Object
show all
Defined in:
lib/3scale_toolbox/crds/product_deployment_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cr) ⇒ GatewayResponseParser

Returns a new instance of GatewayResponseParser.



223
224
225
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 223

def initialize(cr)
  @cr = cr
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



275
276
277
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 275

def method_missing(name, *args)
  nil
end

Instance Attribute Details

#crObject (readonly)

Returns the value of attribute cr.



221
222
223
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 221

def cr
  @cr
end

Instance Method Details

#error_auth_failedObject



227
228
229
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 227

def error_auth_failed
  cr['errorAuthFailed']
end

#error_auth_missingObject



231
232
233
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 231

def error_auth_missing
  cr['errorAuthMissing']
end

#error_headers_auth_failedObject



239
240
241
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 239

def error_headers_auth_failed
  cr['errorHeadersAuthFailed']
end

#error_headers_auth_missingObject



247
248
249
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 247

def error_headers_auth_missing
  cr['errorHeadersAuthMissing']
end

#error_headers_limits_exceededObject



271
272
273
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 271

def error_headers_limits_exceeded
  cr['errorHeadersLimitsExceeded']
end

#error_headers_no_matchObject



259
260
261
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 259

def error_headers_no_match
  cr['errorHeadersNoMatch']
end

#error_limits_exceededObject



263
264
265
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 263

def error_limits_exceeded
  cr['errorLimitsExceeded']
end

#error_no_matchObject



251
252
253
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 251

def error_no_match
  cr['errorNoMatch']
end

#error_status_auth_failedObject



235
236
237
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 235

def error_status_auth_failed
  cr['errorStatusAuthFailed']
end

#error_status_auth_missingObject



243
244
245
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 243

def error_status_auth_missing
  cr['errorStatusAuthMissing']
end

#error_status_limits_exceededObject



267
268
269
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 267

def error_status_limits_exceeded
  cr['errorStatusLimitsExceeded']
end

#error_status_no_matchObject



255
256
257
# File 'lib/3scale_toolbox/crds/product_deployment_parser.rb', line 255

def error_status_no_match
  cr['errorStatusNoMatch']
end