Method: CIMI::Service::Base.create_url
- Defined in:
- lib/cimi/service/base.rb
.create_url(ctx) ⇒ Object
130 131 132 133 134 135 136 137 |
# File 'lib/cimi/service/base.rb', line 130 def self.create_url(ctx) cimi_create = "create_#{model_name}_url" dcloud_create = ctx.deltacloud_create_method_for(model_name) if(ctx.respond_to?(cimi_create) && ctx.driver.respond_to?(dcloud_create)) || provides?(model_name) ctx.send(cimi_create) end end |