Module: Splunk::Namespace
- Included in:
- AppNamespace, AppReferenceNamespace, DefaultNamespace, GlobalNamespace, SystemNamespace, UserNamespace
- Defined in:
- lib/splunk-sdk-ruby/namespace.rb
Overview
A mixin that fills the role of an abstract base class.
Namespaces have two methods: is_exact? and to_path_fragment, and can be compared for equality.
Instance Method Summary collapse
-
#is_exact? ⇒ Boolean
Is this a exact namespace?.
-
#to_path_fragment ⇒ Object
Returns the URL prefix corresponding to this namespace.
Instance Method Details
#is_exact? ⇒ Boolean
Is this a exact namespace?
Returns: true or false.
151 |
# File 'lib/splunk-sdk-ruby/namespace.rb', line 151 def is_exact?() end |
#to_path_fragment ⇒ Object
Returns the URL prefix corresponding to this namespace.
The prefix is returned as a list of strings. The strings are not URL encoded. You need to URL encode them when you construct your URL.
Returns: an Array of Strings.
162 |
# File 'lib/splunk-sdk-ruby/namespace.rb', line 162 def to_path_fragment() end |