Sha256: c4868746fdf8b9e5fb10a5f6243c6a9755c961ee11cfa5a5d0e75bffaf0bbe26

Contents?: true

Size: 911 Bytes

Versions: 9

Compression:

Stored size: 911 Bytes

Contents

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.  The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License.  You may obtain a copy of the License at
#
#       http://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.

class CIMI::Model::Action < CIMI::Model::Base

  text :action

  def name
    action.split('/').last.strip.intern
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
deltacloud-core-1.1.2 lib/cimi/models/action.rb
deltacloud-core-1.1.1 lib/cimi/models/action.rb
deltacloud-core-1.1.0 lib/cimi/models/action.rb
deltacloud-core-1.0.5 lib/cimi/models/action.rb
deltacloud-core-1.0.4 lib/cimi/models/action.rb
deltacloud-core-1.0.3 lib/cimi/models/action.rb
deltacloud-core-1.0.2 lib/cimi/models/action.rb
deltacloud-core-1.0.1 lib/cimi/models/action.rb
deltacloud-core-1.0.0 lib/cimi/models/action.rb