class Role

www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Contact Info: <kenneth.evensen@redhat.com> and <lester@redhat.com>

Public Class Methods

new(namespace=nil) click to toggle source
Calls superclass method OcpApi::new
# File lib/base/v1/ocpapi/Role.rb, line 27
def initialize(namespace=nil)
  unless namespace.nil?
    super("roles", namespace)
  else
    super("roles")
  end
end

Public Instance Methods

to_s() click to toggle source
# File lib/base/v1/ocpapi/Role.rb, line 35
def to_s
  data = nil
  data = list
  return data
end