class ThreeScaleToolbox::CRD::ProductDeploymentParser::ApicastSelfManagedParser
Attributes
authentication_parser[R]
cr[R]
Public Class Methods
new(cr)
click to toggle source
# File lib/3scale_toolbox/crds/product_deployment_parser.rb, line 29 def initialize(cr) @cr = cr @authentication_parser = AuthenticationParser.new(cr.fetch('authentication', {})) end
Public Instance Methods
deployment_option()
click to toggle source
# File lib/3scale_toolbox/crds/product_deployment_parser.rb, line 34 def deployment_option 'self_managed' end
endpoint()
click to toggle source
# File lib/3scale_toolbox/crds/product_deployment_parser.rb, line 38 def endpoint cr['productionPublicBaseURL'] end
method_missing(name, *args)
click to toggle source
# File lib/3scale_toolbox/crds/product_deployment_parser.rb, line 46 def method_missing(name, *args) authentication_parser.public_send(name, *args) end
respond_to_missing?(method_name, include_private = false)
click to toggle source
Calls superclass method
# File lib/3scale_toolbox/crds/product_deployment_parser.rb, line 50 def respond_to_missing?(method_name, include_private = false) super end
sandbox_endpoint()
click to toggle source
# File lib/3scale_toolbox/crds/product_deployment_parser.rb, line 42 def sandbox_endpoint cr['stagingPublicBaseURL'] end