Sha256: 6973fc29ca0d2f2ed76ac68c5c7fff04b708076197b04e7a2b1d9fb6d08b879b
Contents?: true
Size: 556 Bytes
Versions: 11
Compression:
Stored size: 556 Bytes
Contents
module Fog module Brightbox class Compute class Application < Fog::Brightbox::Model identity :id attribute :url attribute :name attribute :secret def save raise Fog::Errors::Error.new("Resaving an existing object may create a duplicate") if persisted? options = { :name => name }.delete_if { |_k, v| v.nil? || v == "" } data = service.create_application(options) merge_attributes(data) true end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems