lib/runcible/resources/role.rb in runcible-0.0.7 vs lib/runcible/resources/role.rb in runcible-0.1.0

- old
+ new

@@ -19,14 +19,12 @@ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -require 'runcible/base' - module Runcible - module Pulp + module Resources class Role < Runcible::Base def self.path(role=nil) (role == nil) ? "roles/" : "roles/#{role}/" end