Sha256: c314cd6e9d2e7f0e12c20fe4975e14b640f0df2f6703a44805801ae1c98e420f
Contents?: true
Size: 556 Bytes
Versions: 16
Compression:
Stored size: 556 Bytes
Contents
module Fog module Compute class Brightbox 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
16 entries across 14 versions & 3 rubygems